mirror of
https://github.com/Andre0512/pyhOn.git
synced 2026-06-19 20:46:58 +02:00
Fix another issue with data path
This commit is contained in:
+3
-1
@@ -104,7 +104,9 @@ class Hon:
|
||||
await self._create_appliance(appliance, self.api)
|
||||
if (
|
||||
self._test_data_path
|
||||
and (test_data := self._test_data_path / "hon-test-data" / "test_data").exists()
|
||||
and (
|
||||
test_data := self._test_data_path / "hon-test-data" / "test_data"
|
||||
).exists()
|
||||
or (test_data := test_data / "..").exists()
|
||||
):
|
||||
api = TestAPI(test_data)
|
||||
|
||||
Reference in New Issue
Block a user