def test_can_retrieve_shop_by_shop_code(self): shop_code = '865' shop_name = 'Braamfontein Annex B' shops().add(shop_code, shop_name) get_shop = shops().get('865') assert_equal(get_shop['shop_code'], '865')
def test_can_create_shop(self): shop_code = '456' shop_name = 'Rosebank Mall' s = shops().add(shop_code, shop_name) assert_is_not_none(s)