summaryrefslogtreecommitdiff
path: root/service/test/unit/config
diff options
context:
space:
mode:
authorNavaL <ayoyo@thoughtworks.com>2016-11-21 14:23:20 +0100
committerThais Siqueira <thais.siqueira@gmail.com>2017-01-02 14:29:45 -0200
commit56a0db46f2e53c453b8c5e67202601f7dac6c0b5 (patch)
tree2c9c785f4be54efac139bb45cd25e98bf64a9bbd /service/test/unit/config
parent7f7cb59a38a3be3d486bafc810133b584d7fd7a7 (diff)
[#815] regenerating new keys when the current one expires
Diffstat (limited to 'service/test/unit/config')
-rw-r--r--service/test/unit/config/test_leap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/test/unit/config/test_leap.py b/service/test/unit/config/test_leap.py
index a6893194..7e073d26 100644
--- a/service/test/unit/config/test_leap.py
+++ b/service/test/unit/config/test_leap.py
@@ -18,7 +18,7 @@ class TestLeapInit(unittest.TestCase):
with patch.object(LeapSessionFactory, '_create_new_session', return_value=session):
yield create_leap_session(provider_mock, 'username', 'password', auth=auth_mock)
- session.first_required_sync.assert_called_with()
+ session.first_required_sync.assert_called_once()
self.assertEqual({'mocked key': session}, SessionCache.sessions)
@patch('pixelated.config.sessions.SessionCache.lookup_session')