1
1
# testscenarios: extensions to python unittest to allow declarative
2
2
# dependency injection ('scenarios') by tests.
3
# Copyright (C) 2009 Robert Collins <robertc@robertcollins.net>
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 2 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, write to the Free Software
17
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
4
# Copyright (c) 2009, Robert Collins <robertc@robertcollins.net>
6
# Licensed under either the Apache License, Version 2.0 or the BSD 3-clause
7
# license at the users choice. A copy of both licenses are available in the
8
# project source as Apache-2.0 and BSD. You may not use this file except in
9
# compliance with one of these two licences.
11
# Unless required by applicable law or agreed to in writing, software
12
# distributed under these licenses is distributed on an "AS IS" BASIS, WITHOUT
13
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14
# license you chose for the specific language governing permissions and
15
# limitations under that license.