def setUp(self): self.response = fakeResponseFromFile("examples/main", None) self.restaurantIDsGetter = RestaurantIDsGetter(self.response)
def setUp(self): response = fakeResponseFromFile("examples/SmallDataEven", None) self.selector = RestaurantSelector(response)
def setUp(self): response = fakeResponseFromFile("examples/HenrysExample", None) self.selector = RestaurantSelector(response)
def setUp(self): response = fakeResponseFromFile("examples/ProductExample.json", None) self.productDataExtractor = ProductDataExtractor.ProductDataExtractor(response) self.restaurantsFile = getAbsolutePath("examples/restaurants.json")
def setUp(self): response = fakeResponseFromFile("examples/ProductExample.json", None) self.productDataExtractor = ProductDataExtractor.ProductDataExtractor( response) self.restaurantsFile = getAbsolutePath("examples/restaurants.json")