Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

tiny comment amends #100

Merged
merged 1 commit into from

1 participant

@evildmp
Owner

No description provided.

@evildmp evildmp merged commit 45df867 into develop
@evildmp evildmp deleted the genericmanagertests branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 29, 2013
  1. tiny comment amends

    authored
This page is out of date. Refresh to see the latest.
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)
Something went wrong with that request. Please try again.