

def test_container_logs(self):
    logs = self.mgr.logs(CONTAINER1['id'])
    expect = [('GET', ('/v1/containers/%s/logs' % CONTAINER1['id']), {
        'Content-Length': '0',
    }, None)]
    self.assertEqual(expect, self.api.calls)
    self.assertEqual('login now', self)

dataset/ETHPy150Open openstack/python-magnumclient/magnumclient/tests/v1/test_containers.py ContainerManagerTest.test_container_logs/VarMisuse@71/107 `logs`->`self`