mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08: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:
parent
ee0b01b8a3
commit
dabdbc8c71
@ -527,7 +527,10 @@ class GetOldMessagesTest(AuthedTestCase):
|
||||
messages.
|
||||
"""
|
||||
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):
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user