Hinweise optimiert
Test and publish container images / test (push) Successful in 2m27s
Test and publish container images / publish (push) Failing after 4s

This commit is contained in:
BuTzZ
2026-07-27 13:04:32 +02:00
parent 9813a1fafb
commit b98ec8bc6f
34 changed files with 500 additions and 399 deletions
+20 -1
View File
@@ -68,7 +68,18 @@ class BuildLocalFairwaysTest(unittest.TestCase):
(3, 7.2, 53.2),
],
[
(100, 1, [1, 2], {"waterway": "canal", "name": "DE Kanal"}),
(
100,
1,
[1, 2],
{
"waterway": "canal",
"name": "DE Kanal",
"depth": "4",
"seamark:fairway:minimum_depth": "3.5",
"maxdraught": "2.5",
},
),
(
200,
1,
@@ -143,6 +154,14 @@ class BuildLocalFairwaysTest(unittest.TestCase):
self.assertEqual(shared_way["tags"]["name"], "Nieuwe lijn")
self.assertEqual(len(shared_way["coordinates"]), 3)
canal_way = next(way for way in document["ways"] if way["id"] == "100")
self.assertEqual(canal_way["tags"]["maxdraught"], "2.5")
self.assertNotIn("depth", canal_way["tags"])
self.assertNotIn(
"seamark:fairway:minimum_depth",
canal_way["tags"],
)
cross_border_way = next(
way for way in document["ways"] if way["id"] == "500"
)