Skip to content

Commit

Permalink
fix merge foul
Browse files Browse the repository at this point in the history
  • Loading branch information
fcurella committed Nov 1, 2023
1 parent 3b98ea5 commit b1ec8b4
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions tests/providers/test_geo.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,22 +79,6 @@ def test_location_on_land_coords_only(self):
assert Decimal(loc[0]) # Should be able to cast first two elements of tuple to Decimal
assert Decimal(loc[1])

class TestCsCz(unittest.TestCase):
def setUp(self):
self.fake = Faker("cs_CZ")
Faker.seed(0)

def test_location_on_land(self):
loc = self.fake.location_on_land()
assert isinstance(loc, tuple)
assert len(loc) == 5
assert Decimal(loc[0]) # Should be able to cast first two elements of tuple to Decimal
assert Decimal(loc[1])
assert isinstance(loc[2], str) # Place is a string
assert isinstance(loc[3], str) # Country code is a string
assert len(loc[3]) == 2 # Country code is two letters
assert isinstance(loc[4], str) # Timezone is a string


class TestCsCz(unittest.TestCase):
def setUp(self):
Expand Down

0 comments on commit b1ec8b4

Please sign in to comment.