def setUpClass(cls): db_base = path.join( env.RESULTS_DIR, 'database_in_package_dir') cls.db_dir = path.join( db_base, 'db_dir' ) cls.index_dir = path.join( db_base, 'index_dir', ) cls.suite_dir = path.join( env.TEST_DATA_DIR, 'suite_tree' ) if path.exists(db_base): shutil.rmtree(db_base) mkdir(db_base) mkdir(cls.db_dir) mkdir(cls.index_dir) scanner = Scanner() scanner.scan( cls.suite_dir, 'robot', cls.db_dir) index_all(cls.db_dir, cls.index_dir) cls.rf_ext = 'robot'
def setUpClass(cls): cls.db_dir = path.join(env.RESULTS_DIR, 'db_dir') cls.clean_dir(cls.db_dir) cls.index_dir = path.join(env.RESULTS_DIR, 'index_dir') cls.clean_dir(cls.index_dir) cls.workspace = path.join(env.TEST_DATA_DIR, 'suite_tree') scanner = Scanner() scanner.scan(cls.workspace, 'robot', cls.db_dir) index_all(cls.db_dir, cls.index_dir) cls.test_a_index = path.join( env.RESOURCES_DIR, 'index-test_a.robot-c6b0faa0427a2cf861a1acad630765ea.json')
def setUpClass(cls): cls.db_dir = path.join(env.RESULTS_DIR, 'db_dir') cls.clean_dir(cls.db_dir) cls.index_dir = path.join(env.RESULTS_DIR, 'index_dir') cls.clean_dir(cls.index_dir) cls.workspace = path.join(env.TEST_DATA_DIR, 'suite_tree') scanner = Scanner() scanner.scan(cls.workspace, 'robot', cls.db_dir) index_all(cls.db_dir, cls.index_dir) cls.test_a_index = path.join( env.RESOURCES_DIR, 'index-test_a.robot-41883aa9e5af28925d37eba7d2313d57.json')
def setUpClass(cls): cls.db_dir = path.join( env.RESULTS_DIR, 'db_dir' ) cls.clean_dir(cls.db_dir) cls.index_dir = path.join( env.RESULTS_DIR, 'index_dir' ) cls.clean_dir(cls.index_dir) cls.workspace = path.join( env.TEST_DATA_DIR, 'suite_tree' ) scanner = Scanner() scanner.scan( cls.workspace, 'robot', cls.db_dir) index_all(cls.db_dir, cls.index_dir) cls.test_a_index = path.join( env.RESOURCES_DIR, 'index-test_a.robot-41883aa9e5af28925d37eba7d2313d57.json')
def setUpClass(cls): cls.db_dir = path.join( env.RESULTS_DIR, 'db_dir' ) cls.clean_dir(cls.db_dir) cls.index_dir = path.join( env.RESULTS_DIR, 'index_dir' ) cls.clean_dir(cls.index_dir) cls.workspace = path.join( env.TEST_DATA_DIR, 'suite_tree' ) scanner = Scanner() scanner.scan( cls.workspace, 'robot', cls.db_dir) index_all(cls.db_dir, cls.index_dir) cls.test_a_index = path.join( env.RESOURCES_DIR, 'index-test_a.robot-c6b0faa0427a2cf861a1acad630765ea.json')