summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2017-03-07 16:16:36 -0800
committerMike Frysinger <vapier@gentoo.org>2017-03-07 16:16:36 -0800
commitcf3fce5e62bf71d8d675bf72530ba8872bb8b8d7 (patch)
tree8dd9a5fd8022a755cabfc5b3c4db20a4a3310ae5
parentekeyword: add support for regenerating manifests (diff)
downloadgentoolkit-cf3fce5e62bf71d8d675bf72530ba8872bb8b8d7.tar.gz
gentoolkit-cf3fce5e62bf71d8d675bf72530ba8872bb8b8d7.tar.bz2
gentoolkit-cf3fce5e62bf71d8d675bf72530ba8872bb8b8d7.zip
ekeyword: make pytest work out of the box
-rw-r--r--.gitignore1
-rw-r--r--src/ekeyword/pytest.ini3
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 49a360b..8022697 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
+.coverage
*.pyc
src/echangelog/echangelog.1
diff --git a/src/ekeyword/pytest.ini b/src/ekeyword/pytest.ini
new file mode 100644
index 0000000..622c9d8
--- /dev/null
+++ b/src/ekeyword/pytest.ini
@@ -0,0 +1,3 @@
+[pytest]
+addopts = --cov
+python_files = *_unittest.py