@@ -432,7 +432,7 @@ def test_catalog(self) -> None:
432432 href = self .strategy .get_href (
433433 cat , parent_dir = "https://example.com" , is_root = True
434434 )
435- self .assertEqual (href , "/an/href" )
435+ self .assertEqual (href , self . expected_local_href )
436436
437437 def test_collection (self ) -> None :
438438 collection = TestCases .case_8 ()
@@ -445,7 +445,7 @@ def test_collection(self) -> None:
445445 href = self .strategy .get_href (
446446 collection , parent_dir = "https://example.com" , is_root = True
447447 )
448- self .assertEqual (href , "/an/href" )
448+ self .assertEqual (href , self . expected_local_href )
449449
450450 def test_item (self ) -> None :
451451 collection = TestCases .case_8 ()
@@ -455,7 +455,7 @@ def test_item(self) -> None:
455455 self .strategy .get_href (item , parent_dir = "http://example.com" )
456456 item .set_self_href ("/an/href" )
457457 href = self .strategy .get_href (item , parent_dir = "http://example.com" )
458- self .assertEqual (href , "/an/href" )
458+ self .assertEqual (href , self . expected_local_href )
459459
460460
461461class APILayoutStrategyTest (unittest .TestCase ):
0 commit comments