Made the license notice a bit shorter in source code. Left the long version in script...
[librarian.git] / tests / utils.py
index bea2038..16db28b 100644 (file)
@@ -1,8 +1,15 @@
+# -*- 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 <http://www.gnu.org/licenses/agpl.html>
+#
+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))