예제 #1
0
def test_minid_logout_after_logout(mock_load_tokens_error, mock_auth_logout):
    mc = MinidClient()
    mc.logout()
    assert not mock_auth_logout.called
예제 #2
0
def test_minid_logout(mock_load_tokens, mock_auth_logout):
    mc = MinidClient()
    mc.logout()
    assert mock_auth_logout.called