diff options
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | dev-requirements.txt | 1 | ||||
-rw-r--r-- | setup.cfg | 3 |
4 files changed, 9 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index f870cbc..f8d5fa1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,3 +6,4 @@ python: install: "pip install -r dev-requirements.txt" script: - flake8 + - nosetests @@ -8,6 +8,10 @@ Usage: The file [example.yml](./example.yml) has an example. +Running the tests: + + nosetests + [the Foreman]: http://theforeman.org [Ansible]: http://ansible.com [ansible-module-foreman]: https://github.com/Nosmoht/ansible-module-foreman diff --git a/dev-requirements.txt b/dev-requirements.txt index 72ef960..c9d5fb4 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,2 +1,3 @@ ansible>=2 flake8>=3 +nose>=0.11.1 @@ -1,2 +1,5 @@ [flake8] ignore = F402,F403,E501,F821 + +[nosetests] +with-doctest = 1 |