Skip to content

Commit

Permalink
Update e2e_tests.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AvangardAA authored Oct 31, 2023
1 parent 380ac41 commit 1dd7136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/e2e_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_total_time_endpoint(self):
self.assertEqual(response.status, 200)
self.assertEqual(json.loads(data), {"totalTime": []})

self.conn.request("GET", "/api/stats/user/total?userId=2fba2529-c166-8574-2da2-eac544d82634")
self.conn.request("GET", "/api/stats/user/total?userId=e13412b2-fe46-7149-6593-e47043f39c91")
response = self.conn.getresponse()
data = response.read().decode()
self.assertEqual(response.status, 200)
Expand All @@ -33,7 +33,7 @@ def test_total_time_avg_endpoint(self):
self.assertEqual(response.status, 200)
self.assertEqual(json.loads(data), {"dailyAverage": [], 'weeklyAverage': []})

self.conn.request("GET", "/api/stats/user/total/avg?userId=2fba2529-c166-8574-2da2-eac544d82634")
self.conn.request("GET", "/api/stats/user/total/avg?userId=e13412b2-fe46-7149-6593-e47043f39c91")
response = self.conn.getresponse()
data = response.read().decode()
self.assertEqual(response.status, 200)
Expand Down

0 comments on commit 1dd7136

Please sign in to comment.