X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/215503e15ca9d6d1e8a053f7bfa359af1af102f3..aa0daf95a4ba4503a94fc6458ede9d9ca8b1d0d1:/tests/utils.py?ds=inline 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))