[BUILD] Add tests for docker downloader script
[oom/offline-installer.git] / build / download / tox.ini
index e4616ff..1b96465 100644 (file)
@@ -2,6 +2,18 @@
 envlist = download
 skipsdist = true
 
-[testenv:download]
+[testenv]
 basepython = python3
+
+[testenv:download]
 deps = -r{toxinidir}/requirements.txt
+
+[testenv:pytest]
+deps =
+    -r{toxinidir}/requirements.txt
+    -r{toxinidir}/tests/test-requirements.txt
+commands = pytest -v
+
+[pytest]
+# required for app modules discovery within tests directory
+pythonpath = .