def test_get_logout_information(self):
        logout_token = 'fake_token'
        self.api._call = mock.Mock()
        self.api.get_logout_information(logout_token=logout_token)

        # verify right calls are made
        self.assertEqual(self.api._call.call_count, 1)
        exchange_call = self.api._call.call_args_list[0]
        exchange_pos_args, exchange_kwargs = exchange_call
        self.assertEqual(exchange_pos_args, ('POST', self.api.logout_url))
        self.assertTrue('params' in exchange_kwargs)
        self.assertTrue(isinstance(exchange_kwargs['params'], dict))
Verify get_logout_information makes the right calls.
dataset/ETHPy150Open clef/clef-python/tests.py/ClefMockCallTests.test_get_logout_information