aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* Python3 (#37)Guido Günther2016-10-03
| | | | | | | | | | | | | | | | | | | | | | | | * Handle python3's configparser as well * tests: Open file in text mode to avoid string bytes conversion with Python3 * tests: drop unnecessary dict These arent sortable in Python3 * Convert returned facts to list While Python2 has a list here Python3 returns dict_values which is not indexable as is. * tests: Parse url for comparison Python3 uses hash seeds for comparison so the QS parts dont have a fixed order. * Test python3.4 and python3.5 as well
* Improve error message with broken config fileGuido Günther2016-09-28
| | | | So far we passed on the python exception. Be a bit more verbose and use defaults for everything but the basic foreman interaction.
* Add a test for methods invoking _get_json()Guido Günther2016-08-14