We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 753c547 + 17d351a commit 7444735Copy full SHA for 7444735
swift_code_metrics/tests/test_integration.py
@@ -24,9 +24,9 @@ def test_sample_app(self):
24
output_file = "swift_code_metrics/tests/report/output.json"
25
scm.main() # generate report
26
expected_file = os.path.join("swift_code_metrics/tests/test_resources", "expected_output.json")
27
- expected_json = JSONReader.read_json_file(expected_file)
28
- generated_json = JSONReader.read_json_file(output_file)
29
- self.assertEqual(generated_json, expected_json)
+ expected_json = sorted(JSONReader.read_json_file(expected_file))
+ generated_json = sorted(JSONReader.read_json_file(output_file))
+ assert expected_json == generated_json
30
31
32
class IntegrationUnhappyTest(unittest.TestCase):
0 commit comments