Skip to content

Commit

Permalink
Update tests. Refs #80
Browse files Browse the repository at this point in the history
  • Loading branch information
koenedaele committed Sep 21, 2017
1 parent 6be168b commit ea3d218
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions tests/.cache/v/cache/lastfailed
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"gateway/test_capakey.py::TestCapakeyRestGateway::()::test_list_afdelingen": true,
"gateway/test_capakey.py::TestPerceel::()::test_lazy_load": true,
"gateway/test_crab.py::TestCrabGateway::()::test_get_huisnummer_by_nummer_and_straat": true,
"gateway/test_crab.py::TestCrabGateway::()::test_list_huisnummers_by_perceel_empty": true,
"gateway/test_crab_cached.py::TestCrabCachedGateway::()::test_list_aardterreinobjecten_different_sort": true
}
4 changes: 2 additions & 2 deletions tests/gateway/test_crab.py
Original file line number Diff line number Diff line change
Expand Up @@ -1613,7 +1613,7 @@ def test_lazy_load(self):
t = Terreinobject("13040_C_1747_G_002_00", 1)
t.set_gateway(crab)
assert t.id == "13040_C_1747_G_002_00"
assert t.centroid == (190708.6, 224667.59)
assert t.centroid == (190707.77, 224673.21)
assert t.bounding_box == (190700.24, 224649.87, 190716.95, 224701.7)
assert int(t.aard.id) == 1
t.metadata.set_gateway(crab)
Expand Down Expand Up @@ -1673,7 +1673,7 @@ def test_lazy_load(self):
p = Perceel("13040C1747/00G002")
p.set_gateway(crab)
assert p.id == "13040C1747/00G002"
assert p.centroid == (190708.6, 224667.59)
assert p.centroid == (190707.77, 224673.21)
p.metadata.set_gateway(crab)
assert isinstance(p.metadata, Metadata)
assert p.metadata.begin_datum is not None
Expand Down

0 comments on commit ea3d218

Please sign in to comment.