Private
Public Access
1
0

further cleaning up

This commit is contained in:
Sander Roosendaal
2021-04-16 19:32:06 +02:00
parent 8f81c5fc92
commit 6331b4ff4a
5 changed files with 26 additions and 153 deletions

View File

@@ -517,13 +517,6 @@ class AsyncTaskTests(TestCase):
res = tasks.handle_updateergcp(1,[f1])
self.assertEqual(res,1)
@patch('rowers.dataprepnodjango.getsmallrowdata_db')
def test_cp_from_workoutids(self,mocked_getsmallrowdata_db):
ids = [1]
powerfourmin,power2k,powerhour = tasks.cp_from_workoutids(ids)
self.assertFalse(powerfourmin==0)
self.assertFalse(power2k==0)
self.assertFalse(powerhour==0)
@patch('rowers.dataprepnodjango.getsmallrowdata_db')
def test_handle_updatecp(self,mocked_getsmallrowdata_db):