Fixed a bug in the testsuite that caused problems when dots where in directory names
This commit is contained in:
parent
d5cd4f8d59
commit
fbd6776e68
2 changed files with 3 additions and 3 deletions
|
|
@ -231,7 +231,7 @@ class LoggingTestCase(FlaskTestCase):
|
|||
c.get('/')
|
||||
out = err.getvalue()
|
||||
self.assert_('WARNING in helpers [' in out)
|
||||
self.assert_(os.path.basename(__file__.rsplit('.')[0] + '.py') in out)
|
||||
self.assert_(os.path.basename(__file__.rsplit('.', 1)[0] + '.py') in out)
|
||||
self.assert_('the standard library is dead' in out)
|
||||
self.assert_('this is a debug statement' in out)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue