Removing a ton of unnecessary test fixtures.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
def setup_app(config):
|
||||
assert config.foo.sample_key == True
|
||||
return 'DEPLOYED!'
|
||||
@@ -1,9 +0,0 @@
|
||||
import sample_app
|
||||
|
||||
app = {
|
||||
'modules': ['sample_app']
|
||||
}
|
||||
|
||||
foo = {
|
||||
'sample_key': True
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
import sample_app_missing
|
||||
|
||||
app = {
|
||||
'modules': ['sample_app_missing']
|
||||
}
|
||||
|
||||
foo = {
|
||||
'sample_key': True
|
||||
}
|
||||
Reference in New Issue
Block a user