mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	test_urls: Upgrade to HttpResponse.json().
This commit is contained in:
		| @@ -97,8 +97,7 @@ class PublicURLTest(ZulipTestCase): | ||||
|             self.assertEqual(400, resp.status_code, | ||||
|                              msg="Expected 400, received %d for GET /api/v1/fetch_google_client_id" % ( | ||||
|                                  resp.status_code,)) | ||||
|             data = ujson.loads(resp.content) | ||||
|             self.assertEqual('error', data['result']) | ||||
|             self.assertEqual('error', resp.json()['result']) | ||||
|  | ||||
|     def test_get_gcid_when_configured(self): | ||||
|         # type: () -> None | ||||
|   | ||||
		Reference in New Issue
	
	Block a user