Skip to content

Commit

Permalink
Fix the assert by being less sensitive to the logging level
Browse files Browse the repository at this point in the history
  • Loading branch information
sbesson committed Jan 12, 2024
1 parent 11254d1 commit cd4f657
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/integration/clitest/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,9 @@ def test_deletebulkanns(self, capfd):
o = self.invoke(capfd)
assert "FileAnnotation:" in o

# Should be empty since it's deleted
# Should have no FileAnnotation since it's deleted
o = self.invoke(capfd)
assert o == ""
assert len(o.strip()) == 0
assert "FileAnnotation:" not in o

@pytest.mark.parametrize('report', [False, True])
def test_measures(self, capfd, report):
Expand Down

0 comments on commit cd4f657

Please sign in to comment.