summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Collins <robertc@robertcollins.net>2009-12-19 14:09:14 +1100
committerRobert Collins <robertc@robertcollins.net>2009-12-19 14:09:14 +1100
commit7b795c0b42770ec978805db3db3d1b99270e6e16 (patch)
tree45c3019bf5d01f75d376a1c2f175b9597c037504 /doc
parentd4a36b3335d2b87e52340d408ed410e6cc95fa6e (diff)
downloadtestscenarios-7b795c0b42770ec978805db3db3d1b99270e6e16.tar.gz
Switch license to BSD / Apache-2.0 and do a 0.1 release.
Diffstat (limited to 'doc')
-rw-r--r--doc/__init__.py17
-rw-r--r--doc/example.py28
-rw-r--r--doc/test_sample.py16
3 files changed, 44 insertions, 17 deletions
diff --git a/doc/__init__.py b/doc/__init__.py
index 16da333..4dbad55 100644
--- a/doc/__init__.py
+++ b/doc/__init__.py
@@ -1 +1,16 @@
-# contractual obligation
+# testscenarios: extensions to python unittest to allow declarative
+# dependency injection ('scenarios') by tests.
+#
+# Copyright (c) 2009, Robert Collins <robertc@robertcollins.net>
+#
+# Licensed under either the Apache License, Version 2.0 or the BSD 3-clause
+# license at the users choice. A copy of both licenses are available in the
+# project source as Apache-2.0 and BSD. You may not use this file except in
+# compliance with one of these two licences.
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under these licenses is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# license you chose for the specific language governing permissions and
+# limitations under that license.
+
diff --git a/doc/example.py b/doc/example.py
index 65dce6f..a8d195f 100644
--- a/doc/example.py
+++ b/doc/example.py
@@ -1,21 +1,17 @@
# testscenarios: extensions to python unittest to allow declarative
# dependency injection ('scenarios') by tests.
-# Copyright (C) 2009 Robert Collins <robertc@robertcollins.net>
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
+# Copyright (c) 2009, Robert Collins <robertc@robertcollins.net>
+#
+# Licensed under either the Apache License, Version 2.0 or the BSD 3-clause
+# license at the users choice. A copy of both licenses are available in the
+# project source as Apache-2.0 and BSD. You may not use this file except in
+# compliance with one of these two licences.
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under these licenses is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# license you chose for the specific language governing permissions and
+# limitations under that license.
"""Example TestScenario."""
diff --git a/doc/test_sample.py b/doc/test_sample.py
index 5254ccb..a0b00a5 100644
--- a/doc/test_sample.py
+++ b/doc/test_sample.py
@@ -1,3 +1,19 @@
+# testscenarios: extensions to python unittest to allow declarative
+# dependency injection ('scenarios') by tests.
+#
+# Copyright (c) 2009, Robert Collins <robertc@robertcollins.net>
+#
+# Licensed under either the Apache License, Version 2.0 or the BSD 3-clause
+# license at the users choice. A copy of both licenses are available in the
+# project source as Apache-2.0 and BSD. You may not use this file except in
+# compliance with one of these two licences.
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under these licenses is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# license you chose for the specific language governing permissions and
+# limitations under that license.
+
import unittest
class TestSample(unittest.TestCase):