diff options
| author | Vincent Férotin <vincent.ferotin@gmail.com> | 2016-05-06 19:45:32 +0200 |
|---|---|---|
| committer | Vincent Férotin <vincent.ferotin@gmail.com> | 2016-05-06 19:45:32 +0200 |
| commit | c1732b845348763cd514721126fc05e1531e44f5 (patch) | |
| tree | c706af8675c1a957e405f4956d7970e9a26b6389 | |
| parent | a7bc1d792fd374c00e27e9f46c606d98ff743b72 (diff) | |
| download | pyramid-c1732b845348763cd514721126fc05e1531e44f5.tar.gz pyramid-c1732b845348763cd514721126fc05e1531e44f5.tar.bz2 pyramid-c1732b845348763cd514721126fc05e1531e44f5.zip | |
scaffolds: Allow `py.test` to be run on new project without specifying test module path.
| -rw-r--r-- | pyramid/scaffolds/alchemy/+dot+coveragerc_tmpl | 3 | ||||
| -rw-r--r-- | pyramid/scaffolds/alchemy/pytest.ini_tmpl | 3 | ||||
| -rw-r--r-- | pyramid/scaffolds/starter/+dot+coveragerc_tmpl | 3 | ||||
| -rw-r--r-- | pyramid/scaffolds/starter/pytest.ini_tmpl | 3 | ||||
| -rw-r--r-- | pyramid/scaffolds/zodb/+dot+coveragerc_tmpl | 3 | ||||
| -rw-r--r-- | pyramid/scaffolds/zodb/pytest.ini_tmpl | 3 |
6 files changed, 18 insertions, 0 deletions
diff --git a/pyramid/scaffolds/alchemy/+dot+coveragerc_tmpl b/pyramid/scaffolds/alchemy/+dot+coveragerc_tmpl new file mode 100644 index 000000000..273a4a580 --- /dev/null +++ b/pyramid/scaffolds/alchemy/+dot+coveragerc_tmpl @@ -0,0 +1,3 @@ +[run] +source = {{package}} +omit = {{package}}/test* diff --git a/pyramid/scaffolds/alchemy/pytest.ini_tmpl b/pyramid/scaffolds/alchemy/pytest.ini_tmpl new file mode 100644 index 000000000..a30c8bcad --- /dev/null +++ b/pyramid/scaffolds/alchemy/pytest.ini_tmpl @@ -0,0 +1,3 @@ +[pytest] +testpaths = {{package}} +python_files = *.py diff --git a/pyramid/scaffolds/starter/+dot+coveragerc_tmpl b/pyramid/scaffolds/starter/+dot+coveragerc_tmpl new file mode 100644 index 000000000..273a4a580 --- /dev/null +++ b/pyramid/scaffolds/starter/+dot+coveragerc_tmpl @@ -0,0 +1,3 @@ +[run] +source = {{package}} +omit = {{package}}/test* diff --git a/pyramid/scaffolds/starter/pytest.ini_tmpl b/pyramid/scaffolds/starter/pytest.ini_tmpl new file mode 100644 index 000000000..a30c8bcad --- /dev/null +++ b/pyramid/scaffolds/starter/pytest.ini_tmpl @@ -0,0 +1,3 @@ +[pytest] +testpaths = {{package}} +python_files = *.py diff --git a/pyramid/scaffolds/zodb/+dot+coveragerc_tmpl b/pyramid/scaffolds/zodb/+dot+coveragerc_tmpl new file mode 100644 index 000000000..273a4a580 --- /dev/null +++ b/pyramid/scaffolds/zodb/+dot+coveragerc_tmpl @@ -0,0 +1,3 @@ +[run] +source = {{package}} +omit = {{package}}/test* diff --git a/pyramid/scaffolds/zodb/pytest.ini_tmpl b/pyramid/scaffolds/zodb/pytest.ini_tmpl new file mode 100644 index 000000000..a30c8bcad --- /dev/null +++ b/pyramid/scaffolds/zodb/pytest.ini_tmpl @@ -0,0 +1,3 @@ +[pytest] +testpaths = {{package}} +python_files = *.py |
