passing some tests on py3, all on py2
This commit is contained in:
@@ -105,13 +105,13 @@ def mocked_sqlalchemy(*args, **kwargs):
|
||||
#@pytest.mark.django_db
|
||||
class DjangoTestCase(TestCase): #, MockTestCase):
|
||||
def _pre_setup(self):
|
||||
MockTestCase.setUp(self)
|
||||
# MockTestCase.setUp(self)
|
||||
TestCase._pre_setup(self)
|
||||
self.client = Client()
|
||||
|
||||
def _post_teardown(self):
|
||||
TestCase._post_teardown(self)
|
||||
MockTestCase.tearDown(self)
|
||||
#MockTestCase.tearDown(self)
|
||||
# delete_strokedata(1)
|
||||
|
||||
def mocked_tcx_parser(*args, **kwargs):
|
||||
|
||||
@@ -3,6 +3,11 @@ try:
|
||||
except NameError:
|
||||
WindowsError = None
|
||||
|
||||
try:
|
||||
FileNotFoundError
|
||||
except NameError:
|
||||
FileNotFoundError = None
|
||||
|
||||
try:
|
||||
OSError
|
||||
except NameError:
|
||||
|
||||
BIN
rowers/tests/testdata/testdata.csv.gz
vendored
BIN
rowers/tests/testdata/testdata.csv.gz
vendored
Binary file not shown.
Reference in New Issue
Block a user