Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
test style
Browse files Browse the repository at this point in the history
  • Loading branch information
MomentQYC authored Sep 29, 2023
1 parent b277fc5 commit 4a405b3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/rest/admin/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ def test_version_string(self) -> None:
channel = self.make_request("GET", self.url, shorthand=False)

self.assertEqual(200, channel.code, msg=channel.json_body)
self.assertEqual(
{"server_version"}, set(channel.json_body.keys())
)
self.assertEqual({"server_version"}, set(channel.json_body.keys()))


class QuarantineMediaTestCase(unittest.HomeserverTestCase):
Expand Down

0 comments on commit 4a405b3

Please sign in to comment.