X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/215503e15ca9d6d1e8a053f7bfa359af1af102f3..895f081f74ce3f116bebb4ef76f5ab3d2e392fef:/tests/utils.py diff --git a/tests/utils.py b/tests/utils.py old mode 100755 new mode 100644 index ea90626..0c6f8d4 --- a/tests/utils.py +++ b/tests/utils.py @@ -19,11 +19,11 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . # +from __future__ import with_statement from os.path import realpath, join, dirname import glob import os - def get_fixture_dir(dir_name): """Returns path to fixtures directory dir_name.""" return realpath(join(dirname(__file__), 'files', dir_name))