mirror of https://github.com/zulip/zulip.git
test_docs: Fix use of fixture when testing /team data.
This fixes a bug in how 449f7e2d4b
managed its fixture file.
This commit is contained in:
parent
de97351b5a
commit
5988d021f9
|
@ -329,7 +329,8 @@ class IntegrationTest(TestCase):
|
|||
|
||||
class AboutPageTest(ZulipTestCase):
|
||||
def test_endpoint(self) -> None:
|
||||
result = self.client_get('/team/')
|
||||
with self.settings(CONTRIBUTOR_DATA_FILE_PATH="zerver/tests/fixtures/authors.json"):
|
||||
result = self.client_get('/team/')
|
||||
self.assert_in_success_response(['Our amazing community'], result)
|
||||
self.assert_in_success_response(['2017-11-20'], result)
|
||||
self.assert_in_success_response(['timabbott', 'showell', 'gnprice', 'rishig'], result)
|
||||
|
|
Loading…
Reference in New Issue