def test_schema_dupe(self):
        schema_attrs = {
                'name': 'test-schema-dupe',
                'description': 'Testing dupe'
                }
        self.nipap.add_schema(self.auth, schema_attrs)
        self.assertRaises(NipapDuplicateError, self.nipap.add_schema, self.auth, schema_attrs)
Check so we can't create duplicate schemas
dataset/ETHPy150Open SpriteLink/NIPAP/tests/nipapbase.py/NipapTest.test_schema_dupe