1
0
mirror of https://gitlab.com/2-chainz/2chainz.git synced 2025-06-15 17:36:39 +00:00

fix tests

This commit is contained in:
Anson 2025-05-23 21:34:05 -06:00
parent 130a9354cb
commit 49d023b229

View File

@ -28,8 +28,8 @@ class TestApi:
@pytest.mark.parametrize(
"mocked_time,start_time,expected",
[
(100, 50, 50), # 100 - 50 = 50 seconds uptime
(200, 100, 100), # 200 - 100 = 100 seconds uptime
(100, 50, "50"), # 100 - 50 = 50 seconds uptime
(200, 100, "100"), # 200 - 100 = 100 seconds uptime
],
)
def test_api_uptime_calculation(self, mocked_time, start_time, expected):