Permalink
Browse files

Cleaned up test case for issue #414.

  • Loading branch information...
1 parent 76773e1 commit 8d7ca29a3554d20324ed9c75d9c095dfa8a8c439 @dave-shawley dave-shawley committed Mar 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 flask/testsuite/config.py
@@ -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

0 comments on commit 8d7ca29

Please sign in to comment.