'Tests that we can add image metadata and returns the new id'

def test_add_image_basic(self):

    fixture = self.get_fixture(is_public=True)
    new_image = self.client.add_image(fixture)
    data = self.client.get_image(new_image['id'])
    for (k, v) in fixture.items():
        self.assertEqual(v, data[k])
    self.assertIn('status', data.keys())
    self.assertEqual('active', data['status'])
