textify.tests package¶
Submodules¶
textify.tests.test_models module¶
- class textify.tests.test_models.NoteTest(methodName='runTest')¶
Bases:
django.test.testcases.TestCase
- setUp()¶
Hook method for setting up the test fixture before exercising it.
- test_note_message()¶
Note model with provided message should successfuly create message
- test_note_message_not_blank()¶
Note model with provided message of 0 characters should throw error and not add to db
- test_note_message_not_longer_than_160()¶
Note model with provided message that exceed 160 characters should throw error and not add to db