Merge branch 'config-support' of github.com:mitsuhiko/flask into config-support
Conflicts: flask.py tests/flask_tests.py
This commit is contained in:
commit
672eaf7abf
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue