aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml1
-rw-r--r--README.md4
-rw-r--r--dev-requirements.txt1
-rw-r--r--setup.cfg3
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
diff --git a/README.md b/README.md
index 552e805..e48bd46 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/setup.cfg b/setup.cfg
index 96f6357..6569710 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,5 @@
[flake8]
ignore = F402,F403,E501,F821
+
+[nosetests]
+with-doctest = 1