Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

total_seconds -> seconds for 2.6 and earlier

  • Loading branch information...
commit f01b654ac4c0a4789369440557267b75df55fd59 1 parent 396c4bd
@mitsuhiko authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  flask/testsuite/config.py
View
2  flask/testsuite/config.py
@@ -81,7 +81,7 @@ def test_config_missing(self):
def test_session_lifetime(self):
app = flask.Flask(__name__)
app.config['PERMANENT_SESSION_LIFETIME'] = 42
- self.assert_equal(app.permanent_session_lifetime.total_seconds(), 42)
+ self.assert_equal(app.permanent_session_lifetime.seconds, 42)
class InstanceTestCase(FlaskTestCase):
Please sign in to comment.
Something went wrong with that request. Please try again.