Till Maas
0bb66af883
Add basic test for Utils.check_output()
2018-05-23 18:29:31 +02:00
Till Maas
83f2521d5e
Fix python3 missing "cmp" keyword for list.sort()
...
This fixes this exception on Python3:
TypeError: 'cmp' is an invalid keyword argument for this function
2018-05-23 18:29:31 +02:00
Till Maas
8157a89456
Install pygobject and NetworkManager-libnm if possible
...
This avoids skipping tests that require pygobject/libnm
2018-05-23 18:29:31 +02:00
Till Maas
fa13ea2388
Fix exception on Python3 in _link_read_permaddress
...
Bytestrings need to be decoded. Just use UTF-8 here, since everyone
should be using it. Also add a test case to catch this. The exception
was:
TypeError: cannot use a string pattern on a bytes-like object
2018-05-23 18:29:31 +02:00
Till Maas
8e6f1bf96b
Move unit tests to tests dir
2018-05-16 20:18:05 +02:00
Till Maas
3e6e536248
Avoid symlink loop and nonstandard top level roles directory - move to tests
2018-05-16 20:03:05 +02:00
Till Maas
4ead3cfea8
Move tests to /tests directory and rename to new naming scheme
...
Ansible Galaxy and
https://fedoraproject.org/wiki/CI/Standard_Test_Interface suggest to use
a /tests directory and a names matching test*.yml.
2018-05-16 19:48:23 +02:00