ci: improve import path

This commit is contained in:
Fu Hanxi
2022-04-24 17:09:56 +08:00
parent 1f47466664
commit 4a7315b1b0

View File

@@ -6,8 +6,15 @@
from __future__ import print_function from __future__ import print_function
import logging import logging
import os
import sys
try:
import esp_prov import esp_prov
except ImportError:
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', '..', 'tools'))
import esp_prov
import pytest import pytest
from pytest_embedded import Dut from pytest_embedded import Dut