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:
parent
130a9354cb
commit
49d023b229
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user