X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/f8e5f031c04122d65d1066077be3920ae95518ae..e82ceed3d3d72dc75697449285a67e0a42a9cc56:/tests/utils.py?ds=sidebyside diff --git a/tests/utils.py b/tests/utils.py index bea2038..eb9597a 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -1,8 +1,13 @@ +# -*- coding: utf-8 -*- +# +# This file is part of Librarian, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# +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))