summary refs log tree commit diff
path: root/tests/rest/test_health.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-12-16 14:53:01 +0000
committerGitHub <noreply@github.com>2020-12-16 14:53:01 +0000
commit651e1ae534c3cbe65d41115d8fb91bca08b22009 (patch)
treeb4ebf13a28cf251d91ba21640bf128a95234f064 /tests/rest/test_health.py
parentFix generate_log_config script (#8952) (diff)
parentlint (diff)
downloadsynapse-651e1ae534c3cbe65d41115d8fb91bca08b22009.tar.xz
Merge pull request #8946 from matrix-org/rav/refactor_send_request
Remove `Request` return value from `make_request`
Diffstat (limited to 'tests/rest/test_health.py')
-rw-r--r--tests/rest/test_health.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rest/test_health.py b/tests/rest/test_health.py

index 02a46e5fda..32acd93dc1 100644 --- a/tests/rest/test_health.py +++ b/tests/rest/test_health.py
@@ -25,7 +25,7 @@ class HealthCheckTests(unittest.HomeserverTestCase): return HealthResource() def test_health(self): - request, channel = self.make_request("GET", "/health", shorthand=False) + channel = self.make_request("GET", "/health", shorthand=False) - self.assertEqual(request.code, 200) + self.assertEqual(channel.code, 200) self.assertEqual(channel.result["body"], b"OK")