From 86ff2ca7b7a2ae3d13a690c9f8b9d94795991c78 Mon Sep 17 00:00:00 2001 From: korenlazar Date: Tue, 4 Oct 2022 12:11:44 +0300 Subject: [PATCH] Fixed small bug in valid_store_id_by_chain function --- tests/test_scraping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_scraping.py b/tests/test_scraping.py index 1160bc4..2929e65 100644 --- a/tests/test_scraping.py +++ b/tests/test_scraping.py @@ -114,7 +114,7 @@ def valid_store_id_by_chain(chain_name) -> int: store_id = 2 elif chain_name == repr(CoOp): store_id = 202 - elif chain_name == [repr(ShukHayir), repr(ZolVebegadol)]: + elif chain_name in [repr(ShukHayir), repr(ZolVebegadol)]: store_id = 4 elif chain_name in [repr(StopMarket), repr(Keshet)]: store_id = 5