From 456a1f8f796bedc37651819f5b7ec8cc6d0b0bae Mon Sep 17 00:00:00 2001 From: Mladen Gibanica <11275336+mgcth@users.noreply.github.com> Date: Tue, 28 May 2024 22:03:12 +0200 Subject: [PATCH] Skip dtype check in integration tests --- tests/integration/test_integration_line.py | 5 ++++- tests/integration/test_integration_point.py | 5 ++++- tests/integration/test_integration_polygon.py | 7 ++++++- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/tests/integration/test_integration_line.py b/tests/integration/test_integration_line.py index 74e58ac..c06dabf 100644 --- a/tests/integration/test_integration_line.py +++ b/tests/integration/test_integration_line.py @@ -42,5 +42,8 @@ def test_integration_get_buiding_items(self): line.process() testing.assert_geodataframe_equal( - line.df, test_vaglinje_result, check_like=True + line.df, + test_vaglinje_result, + check_like=True, + check_dtype=False, ) diff --git a/tests/integration/test_integration_point.py b/tests/integration/test_integration_point.py index 7c2814a..f129ac8 100644 --- a/tests/integration/test_integration_point.py +++ b/tests/integration/test_integration_point.py @@ -41,5 +41,8 @@ def test_integration_get_buiding_items(self): point.process() testing.assert_geodataframe_equal( - point.df, test_byggnad_result, check_like=True + point.df, + test_byggnad_result, + check_like=True, + check_dtype=False, ) diff --git a/tests/integration/test_integration_polygon.py b/tests/integration/test_integration_polygon.py index 7816bd2..f74ffb5 100644 --- a/tests/integration/test_integration_polygon.py +++ b/tests/integration/test_integration_polygon.py @@ -34,4 +34,9 @@ def test_integration_get_ground_items(self): ) polygon.process() - testing.assert_geodataframe_equal(polygon.df, test_mark_result, check_like=True) + testing.assert_geodataframe_equal( + polygon.df, + test_mark_result, + check_like=True, + check_dtype=False, + )