def test_schema_rename(self):
        spec = { 'name': 'test-schema1' }
        attrs = {
                'name': 'test-schema',
                'description': 'A simple test schema with correct name!'
                }
        self.nipap.edit_schema(self.auth, spec, attrs)
        # check that search for old record doesn't return anything
        schema = self.nipap.list_schema(self.auth, spec)
        self.assertEqual(schema, [], 'Old entry still exists')
        schema = self.nipap.list_schema(self.auth, { 'name': 'test-schema' })
        for a in attrs:
            self.assertEqual(schema[0][a], attrs[a], 'Modified schema differ from listed on attribute: ' + a)
Fetches collection of model instances of this collection property.
dataset/ETHPy150Open SpriteLink/NIPAP/tests/nipapbase.py/NipapTest.test_schema_rename--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/ext/db/__init__.py/_ReverseReferenceProperty.__get__