Searched refs:kr_mock (Results 1 – 1 of 1) sorted by relevance
496 def test_load_auth_cache_not_found(self, ks_mock, kr_mock): argument501 kr_mock.get_password = mock.Mock(side_effect=[RuntimeError])504 kr_mock.get_password.assert_called_with(511 def test_load_auth_cache_found(self, ks_mock, kr_mock): argument517 kr_mock.get_password = mock.Mock(return_value=fake_auth)520 kr_mock.get_password.assert_called_with(525 def test_set_auth_cache(self, kr_mock): argument530 kr_mock.get_password = mock.Mock(side_effect=[RuntimeError])531 kr_mock.set_password = mock.Mock()536 kr_mock.set_password.assert_called_with(