X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/3f007696b61ee78291def21c0dca98f94524a943..a0af4cad2e33a60a2baa132938dbd67a470e730f:/tests/utils.py diff --git a/tests/utils.py b/tests/utils.py index 16db28b..3b1f4f5 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -1,9 +1,7 @@ # -*- coding: utf-8 -*- # -# Copyright © 2008,2009,2010 Fundacja Nowoczesna Polska -# # This file is part of Librarian, licensed under GNU Affero GPLv3 or later. -# For full license text see COPYING or +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # from __future__ import with_statement from os.path import realpath, join, dirname @@ -23,10 +21,3 @@ def get_fixture(dir_name, file_name): def get_all_fixtures(dir_name, glob_pattern='*'): """Returns list of paths for fixtures in directory dir_name matching the glob_pattern.""" return [get_fixture(dir_name, file_name) for file_name in glob.glob(join(get_fixture_dir(dir_name), glob_pattern))] - - -def remove_output_file(dir_name, file_name): - try: - os.remove(get_fixture(dir_name, file_name)) - except: - pass