Private
Public Access
1
0

passing some tests

This commit is contained in:
Sander Roosendaal
2019-02-25 20:03:23 +01:00
parent 555b456da1
commit e543411dbc
26 changed files with 1332 additions and 1315 deletions

View File

@@ -81,9 +81,9 @@ class OTWCPChartTest(TestCase):
if not os.path.isdir(path):
try:
os.remove(path)
except (IOError,WindowsError,OSError):
except (IOError,FileNotFoundError,OSError):
pass
except (IOError,WindowsError,OSError):
except (IOError,FileNotFoundError,OSError):
pass
@patch('rowers.dataprep.getsmallrowdata_db',side_effect=mocked_cpraw)
@@ -161,7 +161,7 @@ class CPChartTest(TestCase):
for workout in self.user_workouts:
try:
os.remove(workout.csvfilename)
except (IOError, WindowsError,OSError):
except (IOError, FileNotFoundError,OSError):
pass
def test_analytics_page(self):