jenkins-bot has submitted this change and it was merged.
Change subject: archivebot_tests.py: assertEqual instead of assertTrue ......................................................................
archivebot_tests.py: assertEqual instead of assertTrue
Replace assertTrue(a == b) with AsserEqual(a, b)
Change-Id: I40463f1991f14d7f8325a79e310a7870a9c848c7 --- M tests/archivebot_tests.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/archivebot_tests.py b/tests/archivebot_tests.py index 247940d..d5e958e 100644 --- a/tests/archivebot_tests.py +++ b/tests/archivebot_tests.py @@ -56,9 +56,9 @@ archivebot.DiscussionThread)) self.assertTrue(isinstance(thread.title, basestring)) self.assertTrue(isinstance(thread.now, datetime)) - self.assertTrue(thread.now == talk.now) + self.assertEqual(thread.now, talk.now) self.assertTrue(isinstance(thread.ts, TimeStripper)) - self.assertTrue(thread.ts == talk.timestripper) + self.assertEqual(thread.ts, talk.timestripper) self.assertTrue(isinstance(thread.code, basestring)) self.assertEqual(thread.code, talk.timestripper.site.code) self.assertTrue(isinstance(thread.content, basestring))