We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc3239f commit e757d70Copy full SHA for e757d70
tests/integration/test_main.py
@@ -111,9 +111,11 @@ def checker(payload):
111
in comment
112
)
113
114
- expected_output = "COMMENT_FILE_WRITTEN=true\n"
115
-
116
- assert output_file.read_text() == expected_output
+ expected_output = "COMMENT_FILE_WRITTEN=true\nCOVERAGE_PERCENTAGE=0.7777777777777778\nREFERENCE_COVERAGE_PERCENTAGE=null\n"
+ # The order of keys is not guaranteed, so we'll sort the lines
+ assert sorted(output_file.read_text().splitlines()) == sorted(
117
+ expected_output.splitlines()
118
+ )
119
120
121
@pytest.mark.add_branches("foo")
0 commit comments