Skip to content
Myr

Cleaned up test case for issue #414.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Dave Shawley · committed by Dave Shawley · parent 76773e1 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:flask/testsuite/config.py+2 added-2 removed
80 unmodified lines
81 self.assert_(msg.startswith('[Errno 2] Unable to load configuration '82 'file (No such file or directory):'))83 self.assert_(msg.endswith("missing.cfg'"))84 else:85 self.assert_(0, 'expected config')86 self.assert_(not app.config.from_envvar('FOO_SETTINGS', silent=True))85 self.fail('expected IOError')86 self.assertFalse(app.config.from_envvar('FOO_SETTINGS', silent=True))87 finally:88 os.environ = env8990 def test_config_missing(self):
210 unmodified lines