mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 10:26:28 +00:00
Add "test" to names of test methods so they run
GetOldMessagesTest had test methods that weren't included in the test suite generated by Runner because they did not have "test" in their names. A few bugs in these methods that were overlooked because of this were also fixed. (imported from commit a590bf6b8ee733893d3410ecb5eebe54141c48ea)
This commit is contained in:
@@ -527,7 +527,10 @@ class GetOldMessagesTest(AuthedTestCase):
|
|||||||
messages.
|
messages.
|
||||||
"""
|
"""
|
||||||
self.login("hamlet@humbughq.com")
|
self.login("hamlet@humbughq.com")
|
||||||
self.check_well_formed_messages_response(self.post_with_params({}))
|
json_result = self.post_with_params({})
|
||||||
|
self.assert_json_success(json_result)
|
||||||
|
result = simplejson.loads(json_result.content)
|
||||||
|
self.check_well_formed_messages_response(result)
|
||||||
|
|
||||||
def test_get_old_messages_with_narrow_recipient_id(self):
|
def test_get_old_messages_with_narrow_recipient_id(self):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user