def setUp(self): self.dojo = Dojo() self.HOME = expanduser('~') self.DATA_DIR = self.HOME + '/.dojo_data/' source = os.path.join(os.path.dirname(__file__), 'people.txt') print(source) if os.path.exists(self.DATA_DIR): shutil.copy(source, self.DATA_DIR) else: os.mkdir(self.DATA_DIR) shutil.copy(source, self.DATA_DIR)
def setUp(self): self.dojo = Dojo() self.room_manager = RoomManager() self.person_manager = PersonManager()
def setUp(self): self.dojo = Dojo()
def setUp(self): self.dojo = Dojo() self.HOME_DIR = expanduser('~')