Merge branch 'config-support' of github.com:mitsuhiko/flask into config-support

Conflicts:
	flask.py
	tests/flask_tests.py
This commit is contained in:
Armin Ronacher 2010-05-27 13:34:56 +02:00
commit 672eaf7abf

View file

@ -703,7 +703,7 @@ class ConfigTestCase(unittest.TestCase):
app.config.from_pyfile('flask_tests.py')
self.common_object_test(app)
def test_config_from_module(self):
def test_config_from_object(self):
app = flask.Flask(__name__)
app.config.from_object(__name__)
self.common_object_test(app)