aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-04-15 04:06:39 -0700
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-04-15 15:26:29 +0000
commit1fe9c2906948704071ee5af2f743d6387b2dbe8f (patch)
tree4ff71ed383a05f3197144ed854c95fc8d41c82bc
parentae16faf7fdde8b05ab8dffc75378005dfe972360 (diff)
Add tox runner for pytest in prov-mns-provider
Pytest setup as entrypoint to gating job in CI. Change-Id: If052af0f7c8272844f644cb3789dbc3a8451c629 Issue-ID: INT-1529 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
-rw-r--r--test/mocks/prov-mns-provider/src/test-requirements.txt2
-rw-r--r--test/mocks/prov-mns-provider/src/tox.ini10
2 files changed, 12 insertions, 0 deletions
diff --git a/test/mocks/prov-mns-provider/src/test-requirements.txt b/test/mocks/prov-mns-provider/src/test-requirements.txt
new file mode 100644
index 000000000..547de5c5b
--- /dev/null
+++ b/test/mocks/prov-mns-provider/src/test-requirements.txt
@@ -0,0 +1,2 @@
+pytest
+requests
diff --git a/test/mocks/prov-mns-provider/src/tox.ini b/test/mocks/prov-mns-provider/src/tox.ini
new file mode 100644
index 000000000..02bc0435b
--- /dev/null
+++ b/test/mocks/prov-mns-provider/src/tox.ini
@@ -0,0 +1,10 @@
+[tox]
+envlist = py3
+skipsdist = True
+
+[testenv]
+deps = -r{toxinidir}/test-requirements.txt
+commands = pytest
+
+[pytest]
+addopts = -v