Repository: VTimofeenko/confluence_poster (language: python)

Issue:
Test against python 3.9



Discussion / hints:

Fix patch:
diff --git a/.gitignore b/.gitignore
index 9f59e93..e1a99c9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -138,3 +138,5 @@ dmypy.json
 # Pyre type checker
 .pyre/
 .idea
+
+requirements.txt
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..6daa314
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,12 @@
+[tox]
+envlist = clean,py38,py39
+toxworkdir = /tmp/.tox
+
+[testenv]
+commands = pytest --show-capture=no --cov=confluence_poster/ --cov-report term-missing --cov-config=.coveragerc --cov-append
+deps = -r{toxinidir}/requirements.txt
+
+[testenv:clean]
+deps = coverage
+skip_install = true
+commands = coverage erase


Test patch:
diff --git a/run_tests.sh b/run_tests.sh
new file mode 100644
index 0000000..8768608
--- /dev/null
+++ b/run_tests.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+pip freeze > requirements.txt
+
+tox -e clean,py38,py39
+