passing some tests
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user