diff options
author | V02460 <V02460@gmail.com> | 2023-08-25 21:05:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-25 15:05:10 -0400 |
commit | 84f441f88f51d3f94e1616e1e5507df0dadb6de8 (patch) | |
tree | 717bc7464290b887d2e2c355659104d5b7613972 /tests/test_terms_auth.py | |
parent | service-identity, incremental, and setuptools-rust now have type hints. (#16186) (diff) | |
download | synapse-84f441f88f51d3f94e1616e1e5507df0dadb6de8.tar.xz |
Prepare unit tests for Python 3.12 (#16099)
Diffstat (limited to 'tests/test_terms_auth.py')
-rw-r--r-- | tests/test_terms_auth.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_terms_auth.py b/tests/test_terms_auth.py index 52424aa087..64a49488c6 100644 --- a/tests/test_terms_auth.py +++ b/tests/test_terms_auth.py @@ -85,7 +85,9 @@ class TermsTestCase(unittest.HomeserverTestCase): } } self.assertIsInstance(channel.json_body["params"], dict) - self.assertDictContainsSubset(channel.json_body["params"], expected_params) + self.assertLessEqual( + channel.json_body["params"].items(), expected_params.items() + ) # We have to complete the dummy auth stage before completing the terms stage request_data = { |