mirror of
https://github.com/clearml/wexpect-venv
synced 2025-01-31 02:46:59 +00:00
[TEST] add SpawnSocket tests to tox.
This commit is contained in:
parent
f53331ed61
commit
fcb1fefa23
4
tox.ini
4
tox.ini
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
[tox]
|
[tox]
|
||||||
# The following configuration will run automatically.
|
# The following configuration will run automatically.
|
||||||
envlist = py{37}-{legacy_wexpect,spawn_pipe},installed,pyinstaller
|
envlist = py{37}-{legacy_wexpect,spawn_pipe,spawn_socket},installed,pyinstaller
|
||||||
|
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
@ -13,6 +13,7 @@ description = Unit tests
|
|||||||
setenv =
|
setenv =
|
||||||
spawn_pipe: WEXPECT_SPAWN_CLASS=SpawnPipe
|
spawn_pipe: WEXPECT_SPAWN_CLASS=SpawnPipe
|
||||||
legacy_wexpect: WEXPECT_SPAWN_CLASS=legacy_wexpect
|
legacy_wexpect: WEXPECT_SPAWN_CLASS=legacy_wexpect
|
||||||
|
spawn_socket: WEXPECT_SPAWN_CLASS=SpawnSocket
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
# install the dependencies:
|
# install the dependencies:
|
||||||
@ -46,6 +47,7 @@ commands =
|
|||||||
# copy all testcase into working dir
|
# copy all testcase into working dir
|
||||||
cp -r ../tests tests
|
cp -r ../tests tests
|
||||||
|
|
||||||
|
|
||||||
# Run the test itself. Running all tests is not needed, because it just test the installation,
|
# Run the test itself. Running all tests is not needed, because it just test the installation,
|
||||||
# not functions.
|
# not functions.
|
||||||
python -m unittest tests.test_misc
|
python -m unittest tests.test_misc
|
||||||
|
Loading…
Reference in New Issue
Block a user