Administrative update
[breadcrumb.git] / tests / testing.py
blobd675c76ad7fa6f091fa490b4655bb3ce87e48f4e
1 # -*- coding: utf8 -*-
2 """Common Breadcrumb testing configuration."""
4 # Copyright (C) 2008 Laurens Van Houtven <lvh at laurensvh.be>
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 import os
19 import sys
20 import unittest
22 # import breadcrumb.foo regardless of user's PYTHONPATH
23 basedir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
24 codedir = os.path.join(basedir, 'code')
25 sys.path.append(codedir)