diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-10-21 06:59:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 06:59:54 -0400 |
commit | 20a67aa70da0e8ac49c724cdbc144004b03e5a74 (patch) | |
tree | f3cc51169eeff8666884e33de1945d42aaa1fd05 /tests/logging/test_terse_json.py | |
parent | Pin mypy-zope for compatibility with mypy. (#8600) (diff) | |
download | synapse-20a67aa70da0e8ac49c724cdbc144004b03e5a74.tar.xz |
Separate the TCP and terse JSON formatting code. (#8587)
This should (theoretically) allow for using the TCP code with a different output type and make it easier to use the JSON code with files / console.
Diffstat (limited to 'tests/logging/test_terse_json.py')
-rw-r--r-- | tests/logging/test_terse_json.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/logging/test_terse_json.py b/tests/logging/test_terse_json.py index 4cf81f7128..fd128b88e0 100644 --- a/tests/logging/test_terse_json.py +++ b/tests/logging/test_terse_json.py @@ -78,7 +78,7 @@ class TerseJSONTCPTestCase(StructuredLoggingTestBase, HomeserverTestCase): "server_name", "name", ] - self.assertEqual(set(log.keys()), set(expected_log_keys)) + self.assertCountEqual(log.keys(), expected_log_keys) # It contains the data we expect. self.assertEqual(log["name"], "wally") |