Skip to content
Browse files

tiny comment amends

  • Loading branch information...
1 parent 911b28b commit a2c324ffb7db63f48877ce619c02be020316befd @evildmp committed May 29, 2013
Showing with 6 additions and 3 deletions.
  1. +6 −3 news_and_events/tests.py
View
9 news_and_events/tests.py
@@ -41,11 +41,14 @@ def test_generic_attributes(self):
# the item has no informative content
self.assertEqual(self.tootharticle.is_uninformative, True)
- # there are no Entities in the database, so this can't be hosted_by anything
+ # no Entities in the database, so this can't be hosted_by anything
self.assertEqual(self.tootharticle.hosted_by, None)
- # since there are no Entities in the database, default to settings's template
- self.assertEqual(self.tootharticle.get_template, settings.CMS_TEMPLATES[0][0])
+ # no Entities in the database, so default to settings's template
+ self.assertEqual(
+ self.tootharticle.get_template,
+ settings.CMS_TEMPLATES[0][0]
+ )
def test_date_related_attributes(self):
self.tootharticle.date = datetime(year=2012, month=12, day=12)

0 comments on commit a2c324f

Please sign in to comment.
Something went wrong with that request. Please try again.