Made unittests work again.
- ignore node_modules - rename attract_server → attract - removed your mother
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
[tool:pytest]
|
||||
addopts = -v --cov attract_server --cov-report term-missing
|
||||
addopts = -v --cov attract --cov-report term-missing --ignore node_modules
|
||||
|
||||
[pep8]
|
||||
max-line-length = 100
|
||||
|
@@ -1,7 +0,0 @@
|
||||
from abstract_attract_test import AbstractAttractTest
|
||||
|
||||
|
||||
class JeMoederTest(AbstractAttractTest):
|
||||
def test_je_moeder(self):
|
||||
resp = self.get('/attract/jemoeder')
|
||||
self.assertEqual({'je': 'moeder'}, resp.json())
|
Reference in New Issue
Block a user