James Cammarata
b853e932d1
Adding unit tests for symbolic mode conversion stuff in basic.py
9 years ago
James Cammarata
18240d350c
Adding a skip for the literal_eval test on py3
9 years ago
James Cammarata
0ea3a9d08d
Removing tabs from test_basic.py
9 years ago
James Cammarata
1de9357c2f
Attempt at cleaning up issues introduced by new basic.py unit tests
9 years ago
James Cammarata
e011f52557
Expanding unit tests for module_utils/basic.py
9 years ago
Toshio Kuratomi
c2d188baff
Hide values in json returns which were given in parameters marked no_log.
9 years ago
Marius Gedminas
225fe85530
Skip test_module_utils_basic_ansible_module_creation on Python 3
...
This reverts commit 073f10a52a
and instead
disables the failing test.
We're focusing on Python 3 support on the controller first; modules will
come later.
9 years ago
Marius Gedminas
0371b14567
Fix test: selinux gets passed byte strings
...
(I don't have a system with selinux to test if the module still wants
byte strings even on Python 3.)
9 years ago
Marius Gedminas
500e7a1263
Fix test: _to_filesystem_str produces byte strings
9 years ago
Marius Gedminas
f7571cb37f
Python 3: there's no __builtin__ module
...
This caused an ImportError in a test module and showed up as one test
failure. Now the test module can get imported and many more tests fail
(on Python 3). Such is life. ;-)
9 years ago
Marius Gedminas
709dbbc7db
Use 0oNNN octal syntax in test/
9 years ago
Matt Martz
49d19e82ab
Get tests passing
...
The largest failure in the tests was due to selinux not being installed.
The tests don't require it to be installed, so mock the import.
10 years ago
James Cammarata
4bc7703db3
Fixing some small bugs related to integration tests (v2)
10 years ago
James Cammarata
e59d4f3b51
More module_utils/basic.py unit tests for v2
10 years ago
James Cammarata
339a02c384
Started reworking module_utils/basic unit tests (v2)
10 years ago
James Cammarata
a960fcd569
Adding module_utils tests from v1 to v2
10 years ago