Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SeqLaz committed Nov 5, 2024
1 parent bb56d10 commit fe371db
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions tests/test_offline_converter_minioffliner.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_copy(self):
)
offline_converter = OfflineConverter(
project,
str(self.target_dir),
self.target_dir.joinpath("project_qfield.qgs"),
"POLYGON((1 1, 5 0, 5 5, 0 5, 1 1))",
QgsProject.instance().crs().authid(),
["DCIM"],
Expand Down Expand Up @@ -116,7 +116,7 @@ def test_primary_keys_custom_property(self):
)
offline_converter = OfflineConverter(
project,
str(self.target_dir),
self.target_dir.joinpath("project_qfield.qgs"),
"POLYGON((1 1, 5 0, 5 5, 0 5, 1 1))",
QgsProject.instance().crs().authid(),
["DCIM"],
Expand All @@ -141,7 +141,7 @@ def test_geometryless_layers(self):
)
offline_converter = OfflineConverter(
project,
str(self.target_dir),
self.target_dir.joinpath("project_qfield.qgs"),
"POLYGON((1 1, 5 0, 5 5, 0 5, 1 1))",
QgsProject.instance().crs().authid(),
["DCIM"],
Expand Down Expand Up @@ -195,7 +195,7 @@ def test_localized_layers(self):

offline_converter = OfflineConverter(
project,
str(self.target_dir),
self.target_dir.joinpath("project_qfield.qgs"),
"POLYGON((1 1, 5 0, 5 5, 0 5, 1 1))",
QgsProject.instance().crs().authid(),
["DCIM"],
Expand All @@ -219,7 +219,7 @@ def test_cloud_packaging_pk(self):
)
offline_converter = OfflineConverter(
project,
str(self.target_dir),
self.target_dir.joinpath("project_qfield.qgs"),
"POLYGON((1 1, 5 0, 5 5, 0 5, 1 1))",
QgsProject.instance().crs().authid(),
["DCIM"],
Expand Down
10 changes: 5 additions & 5 deletions tests/test_offline_converter_qgiscore.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def test_copy(self):
)
offline_converter = OfflineConverter(
project,
str(self.target_dir),
self.target_dir.joinpath("project_qfield.qgs"),
"POLYGON((1 1, 5 0, 5 5, 0 5, 1 1))",
QgsProject.instance().crs().authid(),
["DCIM"],
Expand Down Expand Up @@ -113,7 +113,7 @@ def test_primary_keys_custom_property(self):
)
offline_converter = OfflineConverter(
project,
str(self.target_dir),
self.target_dir.joinpath("project_qfield.qgs"),
"POLYGON((1 1, 5 0, 5 5, 0 5, 1 1))",
QgsProject.instance().crs().authid(),
["DCIM"],
Expand All @@ -138,7 +138,7 @@ def test_geometryless_layers(self):
)
offline_converter = OfflineConverter(
project,
str(self.target_dir),
self.target_dir.joinpath("project_qfield.qgs"),
"POLYGON((1 1, 5 0, 5 5, 0 5, 1 1))",
QgsProject.instance().crs().authid(),
["DCIM"],
Expand Down Expand Up @@ -192,7 +192,7 @@ def test_localized_layers(self):

offline_converter = OfflineConverter(
project,
str(self.target_dir),
self.target_dir.joinpath("project_qfield.qgs"),
"POLYGON((1 1, 5 0, 5 5, 0 5, 1 1))",
QgsProject.instance().crs().authid(),
["DCIM"],
Expand All @@ -216,7 +216,7 @@ def test_cloud_packaging_pk(self):
)
offline_converter = OfflineConverter(
project,
str(self.target_dir),
self.target_dir.joinpath("project_qfield.qgs"),
"POLYGON((1 1, 5 0, 5 5, 0 5, 1 1))",
QgsProject.instance().crs().authid(),
["DCIM"],
Expand Down

0 comments on commit fe371db

Please sign in to comment.