From 519716972ef4d2094667b198ade27cd773cf2ac1 Mon Sep 17 00:00:00 2001 From: "Hansen, Tony (th1395)" Date: Fri, 19 Feb 2021 00:13:43 +0000 Subject: fix for py38/py39 tests Change-Id: I881926030fe496d5c1976b2ec2534d9b58b71643 Signed-off-by: Hansen, Tony (th1395) Issue-ID: DCAEGEN2-2494 Signed-off-by: Hansen, Tony (th1395) --- .gitignore | 7 +++++++ makefile | 3 +++ requirements.txt | 2 ++ snmptrap/mod/makefile | 2 ++ tests/makefile | 2 ++ 5 files changed, 16 insertions(+) create mode 100644 .gitignore create mode 100644 makefile create mode 100644 snmptrap/mod/makefile create mode 100644 tests/makefile diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c85d7f5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +__pycache__ +*.sv +coverage*.start +.tox +.coverage +htmlcov +*.egg-info diff --git a/makefile b/makefile new file mode 100644 index 0000000..6cece87 --- /dev/null +++ b/makefile @@ -0,0 +1,3 @@ +runtests: + . ~/bin/set_proxies; tox tests | cat + coverage html diff --git a/requirements.txt b/requirements.txt index 45b1e24..d9e0b1a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,5 @@ pysnmp==4.4.12 requests==2.18.3 onap_dcae_cbs_docker_client==2.1.0 +asyncio +pathlib diff --git a/snmptrap/mod/makefile b/snmptrap/mod/makefile new file mode 100644 index 0000000..7b50d57 --- /dev/null +++ b/snmptrap/mod/makefile @@ -0,0 +1,2 @@ +runtests: + cd ../.. && $(MAKE) runtests diff --git a/tests/makefile b/tests/makefile new file mode 100644 index 0000000..aa9d159 --- /dev/null +++ b/tests/makefile @@ -0,0 +1,2 @@ +runtests: + cd .. && $(MAKE) runtests -- cgit 1.2.3-korg