[promo] tests fix for promo gallery v2

This commit is contained in:
Arsentiy Milchakov 2019-12-16 12:05:03 +03:00
parent fe0a0fa32b
commit 4f3fe17b41

View file

@ -147,9 +147,9 @@ class ResponseProvider:
"/partners/taxi_info": self.partners_yandex_taxi_info,
"/partners/get-offers-in-bbox/": self.partners_rent_nearby,
"/partners/CalculateByCoords": self.partners_calculate_by_coords,
"/gallery/v1/search/": self.promo_gallery_city,
"/single/empty/gallery/v1/search/": self.promo_gallery_city_single_empty,
"/single/gallery/v1/search/": self.promo_gallery_city_single,
"/gallery/v2/search/": self.promo_gallery_city,
"/single/empty/gallery/v2/search/": self.promo_gallery_city_single_empty,
"/single/gallery/v2/search/": self.promo_gallery_city_single,
}[url]()
except:
return self.test_404()