Skip to content

Commit

Permalink
Fix interval case loop issue (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
Junefen authored Jun 26, 2024
1 parent ff9c615 commit fa903c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/function/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def test_interval(self, virtwho):
rhsm_log = virtwho.rhsm_log_get()
assert "No data to send, waiting for next interval" in rhsm_log
else:
assert 60 <= result["loop"] <= 63
assert 59 <= result["loop"] <= 63

@pytest.mark.tier1
def test_print(self, virtwho, hypervisor_data):
Expand Down
2 changes: 1 addition & 1 deletion tests/function/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def test_interval_in_virtwho_conf(self, virtwho, globalconf):
rhsm_log = virtwho.rhsm_log_get()
assert "No data to send, waiting for next interval" in rhsm_log
else:
assert 60 <= result["loop"] <= 63
assert 59 <= result["loop"] <= 63

@pytest.mark.tier1
@pytest.mark.fedoraSmoke
Expand Down

0 comments on commit fa903c0

Please sign in to comment.