aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHansen, Tony (th1395) <th1395@att.com>2021-02-19 00:13:43 +0000
committerHansen, Tony (th1395) <th1395@att.com>2021-02-19 01:38:02 +0000
commit519716972ef4d2094667b198ade27cd773cf2ac1 (patch)
treecfd518bcffa74b3c187f75d278b4f8eea1677f68
parent9522feafa81ad4a1a4b398722ba8dee82c3f8ca2 (diff)
fix for py38/py39 tests
Change-Id: I881926030fe496d5c1976b2ec2534d9b58b71643 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: DCAEGEN2-2494 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
-rw-r--r--.gitignore7
-rw-r--r--makefile3
-rw-r--r--requirements.txt2
-rw-r--r--snmptrap/mod/makefile2
-rw-r--r--tests/makefile2
5 files changed, 16 insertions, 0 deletions
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