def test_get_brand_not_found(self): b = brand.get("whatever") expect(b).to_be_null()
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)