From dabdbc8c71cd43f54fdec7988966ea8ea8a77cab Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Thu, 20 Dec 2012 19:01:47 -0500 Subject: [PATCH] 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) --- zephyr/tests.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zephyr/tests.py b/zephyr/tests.py index 32dd5f7b7d..9824b9936c 100644 --- a/zephyr/tests.py +++ b/zephyr/tests.py @@ -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): """