def test_map_schema(self):
        stmts = ["CREATE SCHEMA s1", "GRANT USAGE ON SCHEMA s1 TO PUBLIC",
                 "GRANT CREATE, USAGE ON SCHEMA s1 TO user1"]
        dbmap = self.to_map(stmts, no_privs=False)
        expmap = {'privileges': [{self.db.user: ['all']},
                                 {'PUBLIC': ['usage']}, {'user1': ['all']}]}
        assert dbmap['schema s1'] == expmap
A case that uses an existing suite.
dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_privs.py/PrivilegeToMapTestCase.test_map_schema--crossover with--dataset/ETHPy150Open mozilla/moztrap/tests/model/library/test_importer.py/ImporterTest.test_create_caseversion_existing_suite