1 |
commit: cf3fce5e62bf71d8d675bf72530ba8872bb8b8d7 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 8 00:16:36 2017 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 8 00:16:36 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=cf3fce5e |
7 |
|
8 |
ekeyword: make pytest work out of the box |
9 |
|
10 |
.gitignore | 1 + |
11 |
src/ekeyword/pytest.ini | 3 +++ |
12 |
2 files changed, 4 insertions(+) |
13 |
|
14 |
diff --git a/.gitignore b/.gitignore |
15 |
index 49a360b..8022697 100644 |
16 |
--- a/.gitignore |
17 |
+++ b/.gitignore |
18 |
@@ -1,2 +1,3 @@ |
19 |
+.coverage |
20 |
*.pyc |
21 |
src/echangelog/echangelog.1 |
22 |
|
23 |
diff --git a/src/ekeyword/pytest.ini b/src/ekeyword/pytest.ini |
24 |
new file mode 100644 |
25 |
index 0000000..622c9d8 |
26 |
--- /dev/null |
27 |
+++ b/src/ekeyword/pytest.ini |
28 |
@@ -0,0 +1,3 @@ |
29 |
+[pytest] |
30 |
+addopts = --cov |
31 |
+python_files = *_unittest.py |