Skip to content

Commit

Permalink
Testing Class access
Browse files Browse the repository at this point in the history
  • Loading branch information
Fantomas42 committed Jun 11, 2015
1 parent cd65c66 commit 7ebf7ce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tagging/tests/tests.py
Expand Up @@ -1087,6 +1087,12 @@ def test_tag_d_validation(self):
forms.ValidationError, t.clean,
'foo qwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbn bar')

def test_tag_get_from_model(self):
FormTest.objects.create(tags='test3 test2 test1')
FormTest.objects.create(tags='toto titi')
self.assertEquals(FormTest.tags, 'test1 test2 test3 titi toto')


#########
# Forms #
#########
Expand Down

0 comments on commit 7ebf7ce

Please sign in to comment.