示例#1
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)
示例#2
0
 def test_create_brand_should_work(self):
     attr = BrandFactory.attributes()
     b = brand.create(attr)
     expect(b.name).to_equal(attr.get("name"))