Skip to content

Commit 7ebf7ce

Browse files
committed
Testing Class access
1 parent cd65c66 commit 7ebf7ce

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tagging/tests/tests.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,6 +1087,12 @@ def test_tag_d_validation(self):
10871087
forms.ValidationError, t.clean,
10881088
'foo qwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbn bar')
10891089

1090+
def test_tag_get_from_model(self):
1091+
FormTest.objects.create(tags='test3 test2 test1')
1092+
FormTest.objects.create(tags='toto titi')
1093+
self.assertEquals(FormTest.tags, 'test1 test2 test3 titi toto')
1094+
1095+
10901096
#########
10911097
# Forms #
10921098
#########

0 commit comments

Comments
 (0)