门店信息

This commit is contained in:
2026-07-27 10:57:02 +08:00
parent ef7eb9dbb1
commit 9a1f2f40fc
6 changed files with 414 additions and 14 deletions
+7
View File
@@ -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):