门店信息
This commit is contained in:
@@ -7,6 +7,8 @@ from surugaya_common.urls import (
|
||||
CARGO_DETAIL_URL,
|
||||
MYPAGE_URL,
|
||||
product_detail_url,
|
||||
shop_section_url,
|
||||
shop_url,
|
||||
trade_detail_url,
|
||||
)
|
||||
|
||||
@@ -40,6 +42,11 @@ class TestUrls:
|
||||
== "https://www.suruga-ya.jp/pcmypage/action_sell_search/detail?trade_code=T123456"
|
||||
)
|
||||
|
||||
def test_shop_urls(self):
|
||||
assert shop_url("400451") == "https://www.suruga-ya.jp/shop/400451"
|
||||
assert shop_section_url("delivery", "400451") == "https://www.suruga-ya.jp/shop/delivery/400451"
|
||||
assert shop_section_url("contact", "410118") == "https://www.suruga-ya.jp/shop/contact/410118"
|
||||
|
||||
|
||||
class TestFormatJapanesePrice:
|
||||
def test_supported_formats(self):
|
||||
|
||||
Reference in New Issue
Block a user