Skip to content

Commit

Permalink
update test data
Browse files Browse the repository at this point in the history
  • Loading branch information
cahytinne committed Dec 21, 2018
1 parent 176adb6 commit 62200d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/gateway/test_capakey.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def test_get_perceel_by_capakey(self, capakey_rest_gateway):
assert isinstance(res, Perceel)
assert res.sectie.id == 'A'
assert res.sectie.afdeling.id == 44021
assert res.centroid == (104036.06609148532, 194676.86989716627)
assert res.bounding_box == (104029.26020348072, 194665.0235611573, 104042.87197948992, 194688.71623317525)
assert res.centroid == (104036.06610000134, 194676.8699000012)
assert res.bounding_box == (104029.2602000013, 194665.0236000009, 104042.87200000137, 194688.71620000154)
assert res.shape is not None

def test_get_perceel_by_percid(self, capakey_rest_gateway):
Expand Down
4 changes: 2 additions & 2 deletions tests/gateway/test_crab.py
Original file line number Diff line number Diff line change
Expand Up @@ -1611,7 +1611,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 == (190707.77, 224673.21)
assert t.centroid == (190708.59, 224667.58)
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 @@ -1671,7 +1671,7 @@ def test_lazy_load(self):
p = Perceel("13040C1747/00G002")
p.set_gateway(crab)
assert p.id == "13040C1747/00G002"
assert p.centroid == (190707.77, 224673.21)
assert p.centroid == (190708.59, 224667.58)
p.metadata.set_gateway(crab)
assert isinstance(p.metadata, Metadata)
assert p.metadata.begin_datum is not None
Expand Down

0 comments on commit 62200d2

Please sign in to comment.