tests: Replace 'debug_backend' with 'esp-debug-backend' from PyPi

This commit is contained in:
Alexey Gerenkov 2023-01-17 17:45:16 +03:00
parent 58b52c1230
commit 164be1cd52
5 changed files with 8 additions and 8 deletions

View File

@ -6,7 +6,7 @@ import tempfile
import time
from io import open
import debug_backend
import esp_debug_backend as debug_backend
import ttfw_idf

View File

@ -5,7 +5,7 @@ import re
import tempfile
from io import open
import debug_backend
import esp_debug_backend as debug_backend
import ttfw_idf

View File

@ -10,10 +10,10 @@ import pexpect
from tiny_test_fw import Utility
try:
import debug_backend
import esp_debug_backend as debug_backend
except ImportError:
# Exception is ignored so the package is not required for those who don't use debug utils.
err_msg = 'Please install py_debug_backend for debug utils to work properly!'
err_msg = 'Please install esp-debug-backend for debug utils to work properly!'
class debug_backend(object): # type: ignore
@staticmethod
@ -27,11 +27,11 @@ except ImportError:
try:
from debug_backend.defs import NoGdbProcessError
except ImportError:
# fallback for pygdbmi<0.10.0.0 which is used in the previous version of debug_backend
# fallback for pygdbmi<0.10.0.0 which is used in the previous version of esp-debug-backend
try:
from pygdbmi.gdbcontroller import NoGdbProcessError
except ImportError:
# If debug_backend is not installed, the exception is ignored.
# If esp-debug-backend is not installed, the exception is ignored.
class NoGdbProcessError(ValueError): # type: ignore
pass

View File

@ -32,7 +32,7 @@ protobuf
SimpleWebSocketServer
# py_debug_backend
debug_backend
esp_debug_backend
# examples/protocols/mqtt
# tools/test_apps/protocols/mqtt

View File

@ -4,7 +4,7 @@ import os
import threading
import time
import debug_backend
import esp_debug_backend as debug_backend
import pexpect
import serial
import ttfw_idf