These patches improve tests infrastructure for testing strings and bytes
support, and add missing tests for argument parsing.
If nobody objects, I will push these patches later this week.
The tests pass on all python versions:
https://travis-ci.org/nirs/sanlock/builds/538240633
Amit Bawer (5):
tests: Add pytest.fixture of no_sanlock_daemon
tests: Add test calls for sanlock.get_lockspaces()
python: Generalize set_value_error as set_error utility function
tests: Add test for killpath(...)
tests: Add tests for parsing lockspace and resource names
python/sanlock.c | 10 ++--
tests/conftest.py | 9 ++++
tests/python_test.py | 112 ++++++++++++++++++++++++++++++++++++++++++-
tests/util.py | 17 +++++++
4 files changed, 142 insertions(+), 6 deletions(-)
--
2.17.2