

def test_make_it(self):
    m = archive_policy.ArchivePolicy(EXAMPLE)
    self.assertEqual(EXAMPLE['name'], m.name)
    self.assertEqual(EXAMPLE['definition'], m.definition)
    self.assertEqual(EXAMPLE['back_window'], m.back_window)
    self.assertEqual(EXAMPLE['aggregation_methods'], m.aggregation_methods)

dataset/ETHPy150Open openstack/python-openstacksdk/openstack/tests/unit/metric/v1/test_archive_policy.py TestArchivePolicy.test_make_it/original