mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-14 15:14:28 -04:00
Fix another issue with data path
This commit is contained in:
parent
29c936b045
commit
a5595f47bf
2 changed files with 6 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue