def setUpModule(): logger.title('SETTING UP COLLECTOR TESTS...') logger.title('REVIT {}'.format(revit.version)) uidoc.Application.OpenAndActivateDocument( os.path.join(panel_dir, 'collector.rvt')) test_utils.delete_all_walls() test_utils.make_wall()
def setUpClass(cls): logger.title('TESTING TRANSACTIONS...') test_utils.delete_all_walls() wall = test_utils.make_wall() cls.wall = wall
def setUpModule(): logger.title('SETTING UP UTILS TESTS...') test_utils.delete_all_walls() test_utils.make_wall()
def setUpModule(): logger.title('SETTING UP ELEMENTS TESTS...') revit.uidoc.Application.OpenAndActivateDocument( os.path.join(panel_dir, 'collector.rvt')) test_utils.delete_all_walls() test_utils.make_wall()
def setUp(self): test_utils.delete_all_walls() test_utils.make_wall() wall = rpw.db.Collector(of_class='Wall', is_not_type=True).get_first(wrapped=False) self.wall = rpw.db.wall.Wall(wall)
def setUpModule(): logger.title('SETTING UP ELEMENTS TESTS...') revit.uidoc.Application.OpenAndActivateDocument(os.path.join(panel_dir, 'collector.rvt')) test_utils.delete_all_walls() test_utils.make_wall()