mirror of
https://github.com/clearml/wexpect-venv
synced 2025-01-30 18:36:57 +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]
|
||||
# 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]
|
||||
@ -13,6 +13,7 @@ description = Unit tests
|
||||
setenv =
|
||||
spawn_pipe: WEXPECT_SPAWN_CLASS=SpawnPipe
|
||||
legacy_wexpect: WEXPECT_SPAWN_CLASS=legacy_wexpect
|
||||
spawn_socket: WEXPECT_SPAWN_CLASS=SpawnSocket
|
||||
|
||||
commands =
|
||||
# install the dependencies:
|
||||
@ -46,6 +47,7 @@ commands =
|
||||
# copy all testcase into working dir
|
||||
cp -r ../tests tests
|
||||
|
||||
|
||||
# Run the test itself. Running all tests is not needed, because it just test the installation,
|
||||
# not functions.
|
||||
python -m unittest tests.test_misc
|
||||
|
Loading…
Reference in New Issue
Block a user