mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 21:24:32 +02:00
ci: improve import path
This commit is contained in:
@@ -6,8 +6,15 @@
|
||||
from __future__ import print_function
|
||||
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
|
||||
try:
|
||||
import esp_prov
|
||||
except ImportError:
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', '..', 'tools'))
|
||||
import esp_prov
|
||||
|
||||
import esp_prov
|
||||
import pytest
|
||||
from pytest_embedded import Dut
|
||||
|
||||
|
Reference in New Issue
Block a user