Removing a ton of unnecessary test fixtures.

This commit is contained in:
Ryan Petrello
2012-03-08 13:07:58 -05:00
parent 788ef786e8
commit 7595b314b4
12 changed files with 1 additions and 33 deletions

View File

@@ -1,10 +0,0 @@
__all__ = ['collector']
def collector():
try:
from unittest import TestLoader
assert hasattr(TestLoader, 'discover')
return TestLoader().discover('pecan.tests')
except:
import unittest2
return unittest2.collector

View File

@@ -1,3 +0,0 @@
def setup_app(config):
assert config.foo.sample_key == True
return 'DEPLOYED!'

View File

@@ -1,9 +0,0 @@
import sample_app
app = {
'modules': ['sample_app']
}
foo = {
'sample_key': True
}

View File

@@ -1,9 +0,0 @@
import sample_app_missing
app = {
'modules': ['sample_app_missing']
}
foo = {
'sample_key': True
}

View File

@@ -65,8 +65,7 @@ setup(
scripts = ['bin/pecan'],
zip_safe = False,
install_requires = requirements,
tests_require = tests_require,
test_suite = test_suite,
test_suite = 'pecan',
entry_points = """
[paste.paster_command]
pecan-serve = pecan.commands:ServeCommand