'Test we can delete an attribute.'

@DeletionTest
def testDeleteAttributes(self):

    predicate = 'metadata:predicate'
    data_store.DB.Set(self.test_row, predicate, 'hello', token=self.token)
    (stored, _) = data_store.DB.Resolve(self.test_row, predicate, token=self.token)
    self.assertEqual(stored, 'hello')
    data_store.DB.DeleteAttributes(self.test_row, [predicate], sync=True, token=self.token)
    (stored, _) = data_store.DB.Resolve(self.test_row, predicate, token=self.token)
    self.assertIsNone(stored)
