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:
Tyler Hallada
2012-12-20 19:01:47 -05:00
parent ee0b01b8a3
commit dabdbc8c71

View File

@@ -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):
""" """