def test_create_from_template(self):

        self.dbname1 = dbutil.random_name('test_create_from_template_db')

        # Create a new database.
        dbutil.TESTSERVER.create(self.dbname1,
                                 template_db=self.TEST_TEMPLATE_DB)

        # Check if the newly created database exists.
        maint_conn = dbutil.TESTSERVER.connect(self.MAINTENANCE_DB,
                                               superuser=True)
        try:
            maint_conn = dbutil.MaintenanceWrapper(maint_conn)
            self.assertTrue(maint_conn.exists(self.dbname1),
                            "New database does not seem to be there.")
        finally:
            maint_conn.close()
Establish the nucleotide composition of tss intervals
dataset/ETHPy150Open GeoscienceAustralia/agdc/tests/test_dbutil.py/TestServer.test_create_from_template--crossover with--dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_proj007.py/annotateLiverTesteMergedComposition