diff options
author | Guido Günther <agx@sigxcpu.org> | 2017-05-16 17:11:07 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2017-05-16 17:11:55 +0200 |
commit | 264c6dc7934b34a689ed8a81523ed263559369eb (patch) | |
tree | 407b7dede94bf8440f609104cb9a099eac08ccf1 | |
parent | b0b1f2eeb8799134f23aaff934845233705585fd (diff) |
Explain how to use nosetests
and run them in travis
-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 |