Skip to content

Commit 6187b8f

Browse files
committed
hotfix(tests): de-emphasise dist and address strictness
1 parent 47ceb93 commit 6187b8f

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

test/urban_mapper/modules/urban_layer/test_urban_layer_factory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ def test_from_address(self):
129129
)
130130
elif "region" in available_type:
131131
factory = self.layer.with_type(available_type).from_address(
132-
"760 United Nations Plaza, Manhattan, New York, United States",
133-
dist=100.0,
132+
"Times Square, Manhattan, New York, USA",
133+
dist=2000.0,
134134
)
135135
else:
136136
factory = self.layer.with_type(available_type).from_address(

test/urban_mapper/modules/urban_layer/urban_layer/test_region_cities.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def test_from_place(self):
4646
def test_from_address(self):
4747
assert (
4848
self.layer.from_address(
49-
"760 United Nations Plaza, Manhattan, New York, United States",
50-
dist=100.0,
49+
"Times Square, Manhattan, New York, USA",
50+
dist=2000.0,
5151
)
5252
is None
5353
)

test/urban_mapper/modules/urban_layer/urban_layer/test_region_countries.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def test_from_place(self):
4646
def test_from_address(self):
4747
assert (
4848
self.layer.from_address(
49-
"760 United Nations Plaza, Manhattan, New York, United States",
50-
dist=100.0,
49+
"Times Square, Manhattan, New York, USA",
50+
dist=2000.0,
5151
)
5252
is None
5353
)

test/urban_mapper/modules/urban_layer/urban_layer/test_region_neighborhoods.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def test_from_place(self):
4646
def test_from_address(self):
4747
assert (
4848
self.layer.from_address(
49-
"760 United Nations Plaza, Manhattan, New York, United States",
50-
dist=100.0,
49+
"Times Square, Manhattan, New York, USA",
50+
dist=2000.0,
5151
)
5252
is None
5353
)

test/urban_mapper/modules/urban_layer/urban_layer/test_region_states.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def test_from_place(self):
4646
def test_from_address(self):
4747
assert (
4848
self.layer.from_address(
49-
"760 United Nations Plaza, Manhattan, New York, United States",
50-
dist=100.0,
49+
"Times Square, Manhattan, New York, USA",
50+
dist=2000.0,
5151
)
5252
is None
5353
)

0 commit comments

Comments
 (0)