Esempio n. 1
0
 def test_get_brand_not_found(self):
     b = brand.get("whatever")
     expect(b).to_be_null()
Esempio n. 2
0
 def test_get_data_from_existing_brand(self):
     attr = BrandFactory.attributes()
     data = brand.create(attr)
     b = brand.get(data.uid)
     expect(b.name).to_equal(data.name)