Commit Graph

5 Commits

Author SHA1 Message Date
Riza Sulistyo 21f40c8625
Support Python3 for github CI (#3612)
* Support Python3 for github CI

* Fix runtime error due to changes in telnetlib for python3

This will also remove support for python2

* Fix runtime error due to changes in socket lib

* Fix runtime error

* Fix error

* Replace imp to importlib to fix warning

* Fix some error

- On windows, error EACCESS when binding/opening socket
- Fix UnicodeEncodeError/UnicodeDecodeError
2023-07-06 15:38:04 +07:00
Riza Sulistyo 5ac9104514
Expand tab to spaces and remove $Id$ (#3292) 2022-11-22 16:26:54 +07:00
Nanang Izzuddin 48a8aebc45
Update python pjsua-test to use telnet CLI (#2309)
* Update pjsua test to use pjsua telnet CLI, configurable via `DEFAULT_TELNET` setting in `inc_cfg.py`, set it to `False` to return to the old behavior using console prompt+stdin/stdout.
* Update pjsua test indentation: replace tab->space.
2020-03-02 09:48:54 +07:00
Benny Prijono 28a48221c1 Misc (#915): several fixes on the python unit tests on Linux:
- added Makefile for cmp_wav and modified the test script
 - test 999: MESSAGE without body is now allowed


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2884 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17 08:29:47 +00:00
Benny Prijono 945aeb2681 Created top-level directory tests and moved test-pjsua there. This will be the placeholder for future developed tests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2392 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-22 18:54:58 +00:00