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.
20
18
"""Support for running tests with different scenarios declaratively
29
27
methods for details.
30
# same format as sys.version_info: "A tuple containing the five components of
31
# the version number: major, minor, micro, releaselevel, and serial. All
32
# values except releaselevel are integers; the release level is 'alpha',
33
# 'beta', 'candidate', or 'final'. The version_info value corresponding to the
34
# Python version 2.0 is (2, 0, 0, 'final', 0)." Additionally we use a
35
# releaselevel of 'dev' for unreleased under-development code.
37
# If the releaselevel is 'alpha' then the major/minor/micro components are not
38
# established at this point, and setup.py will use a version of next-$(revno).
39
# If the releaselevel is 'final', then the tarball will be major.minor.micro.
40
# Otherwise it is major.minor.micro~$(revno).
41
__version__ = (0, 1, 0, 'final', 0)
33
44
'TestWithScenarios',