mocking sqlalchemy
This commit is contained in:
@@ -91,8 +91,11 @@ class DjangoTestCase(TestCase, MockTestCase):
|
||||
def _post_teardown(self):
|
||||
TestCase._post_teardown(self)
|
||||
MockTestCase.tearDown(self)
|
||||
delete_strokedata(1)
|
||||
# delete_strokedata(1)
|
||||
|
||||
def mocked_polar_notifications(*args, **kwargs):
|
||||
return []
|
||||
|
||||
# to be done add polar mocks (for email processing)
|
||||
def mocked_requests(*args, **kwargs):
|
||||
with open('rowers/tests/testdata/c2jsonworkoutdata.txt','r') as infile:
|
||||
|
||||
Reference in New Issue
Block a user