def test_will_use_single_storers_defined(self): utils.metadata_storers(self.dataset, self.custom) self.assertEqual('abc123cfde', self.dataset.uuid) self.assertEqual("updated abstract", self.dataset.abstract)
def test_will_use_multiple_storers_defined(self): dataset = utils.metadata_storers(self.dataset, self.custom) self.assertEqual('abc123cfde', dataset.uuid) self.assertEqual("another update", dataset.abstract) self.assertEqual("Updated Title", dataset.title)
def test_will_use_multiple_storers_defined(self): layer = utils.metadata_storers(self.layer, self.custom) self.assertEqual('abc123cfde', layer.uuid) self.assertEqual("another update", layer.abstract) self.assertEqual("Updated Title", layer.title)