Skip to content

Commit

Permalink
Cleaned up test case for issue pallets#414.
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-shawley committed Mar 1, 2012
1 parent 76773e1 commit 8d7ca29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flask/testsuite/config.py
Expand Up @@ -82,8 +82,8 @@ def test_config_from_envvar_missing(self):
'file (No such file or directory):'))
self.assert_(msg.endswith("missing.cfg'"))
else:
self.assert_(0, 'expected config')
self.assert_(not app.config.from_envvar('FOO_SETTINGS', silent=True))
self.fail('expected IOError')
self.assertFalse(app.config.from_envvar('FOO_SETTINGS', silent=True))
finally:
os.environ = env

Expand Down

0 comments on commit 8d7ca29

Please sign in to comment.