From 1fe9c2906948704071ee5af2f743d6387b2dbe8f Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Wed, 15 Apr 2020 04:06:39 -0700 Subject: 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 --- test/mocks/prov-mns-provider/src/test-requirements.txt | 2 ++ test/mocks/prov-mns-provider/src/tox.ini | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 test/mocks/prov-mns-provider/src/test-requirements.txt create mode 100644 test/mocks/prov-mns-provider/src/tox.ini (limited to 'test/mocks') 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 -- cgit 1.2.3-korg