Skip to content

Commit

Permalink
fix tests to run from the tests folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerickel committed Oct 15, 2018
1 parent dd3cc81 commit f9da0b6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions appveyor.yml
Expand Up @@ -6,6 +6,8 @@ environment:
TOXENV: "py36"
- PYTHON: "C:\\Python35"
TOXENV: "py35"
- PYTHON: "C:\\Python34"
TOXENV: "py34"
- PYTHON: "C:\\Python27"
TOXENV: "py27"

Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Expand Up @@ -2,9 +2,9 @@
zip_ok = false

[nosetests]
match=^test
where=pyramid
nocapture=1
match = ^test
tests = src/pyramid,tests,docs
nocapture = 1

[aliases]
dev = develop easy_install pyramid[testing]
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Expand Up @@ -81,7 +81,8 @@ def readfile(name):
author_email="pylons-discuss@googlegroups.com",
url="https://trypyramid.com",
license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
packages=find_packages(),
packages=find_packages('src', exclude=['tests']),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
Expand All @@ -92,7 +93,7 @@ def readfile(name):
'docs': docs_extras,
},
tests_require=tests_require,
test_suite="pyramid.tests",
test_suite="tests",
entry_points="""\
[pyramid.scaffold]
starter=pyramid.scaffolds:StarterProjectTemplate
Expand Down

0 comments on commit f9da0b6

Please sign in to comment.