def setUp(self): self.test_dir, self.cleanup_test_dir = create_tempdir() self.runner = CliRunner()
def setUp(self): self.instance_path, self.tempdir_cleanup = create_tempdir() with open(os.sep.join([self.instance_path, 'users.txt']), 'wb') as f: f.write('m:{}\n'.format(bcrypt.hashpw('m', bcrypt.gensalt()))) self.runner = CliRunner()
def setUp(self): db.create_all() self.path, self.cleanup = create_tempdir() self.storage = Storage.new_storage()
def setUp(self): self.path, self.cleanup = create_tempdir()