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 1dd7136 commit 28a794f
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=e13412b2-fe46-7149-6593-e47043f39c91")
self.conn.request("GET", "/api/stats/user/total?userId=cbf0d80b-8532-070b-0df6-a0279e65d0b2")
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=e13412b2-fe46-7149-6593-e47043f39c91")
self.conn.request("GET", "/api/stats/user/total/avg?userId=cbf0d80b-8532-070b-0df6-a0279e65d0b2")
response = self.conn.getresponse()
data = response.read().decode()
self.assertEqual(response.status, 200)
Expand Down

0 comments on commit 28a794f

Please sign in to comment.