예제 #1
0
    def test_support(self):
        support = Support()
        support.artist = 'Gilberto Gil'
        support.title = 'Título'
        support.article = 'Texto'
        support.save()

        self.assertTrue(support.id)
예제 #2
0
 def setUp(self):
     support = Support()
     support.artist = 'Gilberto Gil'
     support.title = 'Título'
     support.article = 'Texto'
     support.save()