-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #285 from espressif/fix/qemu_requires_optional_dep…
…endency_idf
- Loading branch information
Showing
3 changed files
with
35 additions
and
8 deletions.
There are no files selected for viewing
21 changes: 16 additions & 5 deletions
21
pytest-embedded-arduino/pytest_embedded_arduino/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
"""Make pytest-embedded plugin work with Arduino.""" | ||
|
||
import importlib | ||
|
||
from pytest_embedded.utils import lazy_load | ||
|
||
from .app import ArduinoApp | ||
from .serial import ArduinoSerial | ||
|
||
__all__ = [ | ||
'ArduinoApp', | ||
'ArduinoSerial', | ||
] | ||
__getattr__ = lazy_load( | ||
importlib.import_module(__name__), | ||
{ | ||
'ArduinoApp': ArduinoApp, | ||
}, | ||
{ | ||
'ArduinoSerial': '.serial', # requires esp | ||
}, | ||
) | ||
|
||
__all__ = ['ArduinoApp', 'ArduinoSerial'] | ||
|
||
|
||
__version__ = '1.10.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters