Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/d/j/django-lfs-HEAD/lfs/manufacturer/tests.py   django-lfs(Download)
        self.c1.products = [self.p1, self.p2, self.p3]
        self.c1.save()
        self.m1 = Manufacturer.objects.create(name='LFS C.O.', slug='lfs-co', short_description='sd',
                                              description='desc', position=1)
 
        self.c1.products = [self.p1, self.p2, self.p3]
        self.c1.save()
        self.m1 = Manufacturer.objects.create(name='LFS C.O', slug='lfs-co', short_description='sd',
                                              description='desc', position=1)
 

src/d/j/django-lfs-HEAD/lfs/catalog/tests.py   django-lfs(Download)
    def setUp(self):
        """
        """
        self.m1 = Manufacturer.objects.create(name='M1', slug='m1')
        self.m2 = Manufacturer.objects.create(name='M2', slug='m2')