diff options
author | David Baker <dave@matrix.org> | 2019-05-13 16:10:26 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2019-05-13 16:10:26 +0100 |
commit | 822072b1bb8c68006dffff196885202d80099361 (patch) | |
tree | fdd2b718d1388a7c5791aee7580956835e02ee99 | |
parent | Merge remote-tracking branch 'origin/develop' into dbkr/add_dummy_flow_to_rec... (diff) | |
download | synapse-822072b1bb8c68006dffff196885202d80099361.tar.xz |
Terms might not be the last stage
-rw-r--r-- | tests/test_terms_auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_terms_auth.py b/tests/test_terms_auth.py index f412985d2c..52739fbabc 100644 --- a/tests/test_terms_auth.py +++ b/tests/test_terms_auth.py @@ -59,7 +59,7 @@ class TermsTestCase(unittest.HomeserverTestCase): for flow in channel.json_body["flows"]: self.assertIsInstance(flow["stages"], list) self.assertTrue(len(flow["stages"]) > 0) - self.assertEquals(flow["stages"][-1], "m.login.terms") + self.assertTrue("m.login.terms" in flow["stages"]) expected_params = { "m.login.terms": { |