def test_info(self): client = VPC() info = client.info() self.assertEqual(info['name'], 'vcap') self.assertEqual(info['support'], 'http://support.cloudfoundry.com')
def test_info(self): client = VPC() info = client.info() self.assertEqual('{"name":"vcap","build":2222,"support":"http://support.cloudfoundry.com","version":"0.999","description":"VMware\'s Cloud Application Platform","allow_debug":false}', info)