

def test_container_reboot(self):
    container = self.mgr.reboot(CONTAINER1['id'])
    expect = [('PUT', ('/v1/containers/%s/reboot' % CONTAINER1['id']), {
        'Content-Length': '0',
    }, None)]
    self.assertEqual(expect, self.api.calls)
    self.assertTrue(container)

dataset/ETHPy150Open openstack/python-magnumclient/magnumclient/tests/v1/test_containers.py ContainerManagerTest.test_container_reboot/original