@@ -0,0 +1,741 @@
+from django.test import TestCase%0Afrom ansible.models import Playbook%0A%0Aclass PlaybookModelTest(TestCase):%0A%0A    @classmethod%0A    def setUpTestData(cls):%0A        #Set up non-modified objects used by all test methods%0A        Playbook.query_set.create(username='lozadaomr',repository='ansi-dst',%0A                inventory='hosts',user='ubuntu')%0A%0A    def test_username_label(self):%0A        playbook=Playbook.query_set.get(id=1)%0A        field_label = playbook._meta.get_field('username').verbose_name%0A        self.assertEquals(field_label,'username')%0A%0A    def test_username_max_length(self):%0A        playbook=Playbook.query_set.get(id=1)%0A        max_length = playbook._meta.get_field('username').max_length%0A        self.assertEquals(max_length,39)%0A

Add tests_models.py