Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Cleaned up test case for issue #414.

  • Loading branch information...
commit 8d7ca29a3554d20324ed9c75d9c095dfa8a8c439 1 parent 76773e1
@dave-shawley authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 flask/testsuite/config.py
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.