Skip to content

Commit e757d70

Browse files
adapt test
1 parent bc3239f commit e757d70

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/integration/test_main.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,11 @@ def checker(payload):
111111
in comment
112112
)
113113

114-
expected_output = "COMMENT_FILE_WRITTEN=true\n"
115-
116-
assert output_file.read_text() == expected_output
114+
expected_output = "COMMENT_FILE_WRITTEN=true\nCOVERAGE_PERCENTAGE=0.7777777777777778\nREFERENCE_COVERAGE_PERCENTAGE=null\n"
115+
# The order of keys is not guaranteed, so we'll sort the lines
116+
assert sorted(output_file.read_text().splitlines()) == sorted(
117+
expected_output.splitlines()
118+
)
117119

118120

119121
@pytest.mark.add_branches("foo")

0 commit comments

Comments
 (0)