class TestProductApi(object):

    def test_number_one(self, wedding):
        print('running test_number_one')
print('wedding.id == {}'.format(wedding.id))
print('Wedding.objects.all().count() == {}'.format(Wedding.objects.all().
    count()))
print('finished test_number_one')

def test_number_two(self, wedding):
    print('running test_number_two')
print('wedding.id == {}'.format(wedding.id))
print('Wedding.objects.all().count() == {}'.format(Wedding.objects.all().
    count()))
print('finished test_number_two')
PyTest with single django model creation