Skip to content

Commit

Permalink
run the test with 1 fps
Browse files Browse the repository at this point in the history
  • Loading branch information
mlx-kva committed Mar 11, 2021
1 parent db76000 commit 14a58ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/app_testing/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ def test_i2c_init(metadata):
def test_refresh_rate_setting():
global dev

assert dev.set_refresh_rate(1) == 0
assert dev.get_refresh_rate() == 1

assert dev.set_refresh_rate(4) == 0
assert dev.get_refresh_rate() == 4

assert dev.set_refresh_rate(1) == 0
assert dev.get_refresh_rate() == 1


@pytest.mark.run(order=order+4)
def test_dump_frame():
Expand All @@ -52,7 +52,7 @@ def test_dump_frame():
dev.dump_eeprom()
dev.extract_parameters()

for i in range(0, 7):
for i in range(0, 5):
dev.get_frame_data()
ta = dev.get_ta() - 8.0
emissivity = 1
Expand Down

0 comments on commit 14a58ed

Please sign in to comment.