'Tests that we can add image metadata with properties'

def test_add_image_with_properties(self):

    fixture = self.get_fixture(location='file:///tmp/glance-tests/2', properties={'distro': 'Ubuntu    10.04    LTS'}, is_public=True)
    new_image = self.client.add_image(fixture)
    del fixture['location']
    for (k, v) in fixture.items():
        self.assertEqual(v, new_image[k])
    self.assertIn('status', new_image.keys())
    self.assertEqual('active', new_image['status'])
