[TEST] add SpawnSocket tests to tox.

This commit is contained in:
Benedek Racz 2020-04-05 13:30:31 +02:00
parent f53331ed61
commit fcb1fefa23

View File

@ -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