debian/0000755000000000000000000000000011677466470007210 5ustar debian/changelog0000644000000000000000000000046311677466470011065 0ustar dtest (0.4.0-0ubuntu2) precise; urgency=low * Rebuild to drop python2.6 dependencies. -- Matthias Klose Sat, 31 Dec 2011 02:02:32 +0000 dtest (0.4.0-0ubuntu1) oneiric; urgency=low * Initial upload to Ubuntu. -- Soren Hansen Tue, 07 Jun 2011 13:51:25 +0200 debian/rules0000755000000000000000000000022411607316072010247 0ustar #!/usr/bin/make -f %: dh $@ --with python2 override_dh_auto_test: set -e ; for python in $(shell pyversions -r); do $$python run_tests.py; done debian/control0000644000000000000000000000216011607316022010566 0ustar Source: dtest Section: python Priority: optional Maintainer: Ubuntu Developers Build-Depends: python-all (>= 2.6.6-3), debhelper (>= 7.4.3), python-eventlet X-Python-Version: >= 2.6 Standards-Version: 3.9.1 Package: python-dtest Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-eventlet Breaks: ${python:Breaks} Description: Dependency-based Threaded Test Framework for Python The DTest framework is a testing framework, similar to the standard unittest package provided by Python. The value-add for DTest, however, is that test execution is threaded, through use of the eventlet package. The DTest package also provides the concept of "dependencies" between tests and test fixtures -- thus the "D" in "DTest" -- which ensure that tests don't run until the matching set up test fixtures have completed, and that the tear down test fixtures don't run until all the associated tests have completed. Dependencies may also be used to ensure that tests requiring the availability of certain functionality don't run if the tests of that specific functionality fail. debian/copyright0000644000000000000000000000154511607315533011132 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: dtest Source: http://github.com/klmitch/dtest Files: * Copyright: 2011 OpenStack LLC License: Apache-2 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian-based systems the full text of the Apache version 2.0 license can be found in `/usr/share/common-licenses/Apache-2.0'. debian/source/0000755000000000000000000000000011607315533010472 5ustar debian/source/format0000644000000000000000000000001411607315533011700 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011607316107010617 5ustar debian/patches/debian-changes-0.4.0-0ubuntu1~ppa10000644000000000000000000000350211607316107016470 0ustar Description: Upstream changes introduced in version 0.4.0-0ubuntu1~ppa1 This patch has been created by dpkg-source during the package build. Here's the last changelog entry, hopefully it gives details on why those changes were made: . dtest (0.4.0-0ubuntu1~ppa1) oneiric; urgency=low . * Initial upload to Ubuntu. . The person named in the Author field signed this changelog entry. Author: Soren Hansen --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- /dev/null +++ dtest-0.4.0/MANIFEST @@ -0,0 +1,35 @@ +# file GENERATED by distutils, do NOT edit +LICENSE.txt +MANIFEST.in +README.rst +run_tests.py +setup.py +bin/run-dtests +dtest/__init__.py +dtest/capture.py +dtest/constants.py +dtest/core.py +dtest/exceptions.py +dtest/policy.py +dtest/result.py +dtest/strategy.py +dtest/test.py +dtest/util.py +tests/__init__.py +tests/test_alternate.py +tests/test_decorators.py +tests/test_inheritance.py +tests/test_multi.py +tests/test_partner.py +tests/test_policy.py +tests/test_tests.py +tests/explore/__init__.py +tests/explore/notpkg/test.py +tests/explore/pkg/__init__.py +tests/explore/pkg/nottest.py +tests/explore/pkg_impl/__init__.py +tests/explore/pkg_impl/test_impl.py +tests/explore/test_notpkg/test.py +tests/explore/test_pkg/__init__.py +tests/ordering/__init__.py +tests/ordering/test_order.py debian/patches/make-test-suite-pass.patch0000644000000000000000000000314511607315533015632 0ustar Index: dtest-0.3.2/tests/test_decorators.py =================================================================== --- dtest-0.3.2.orig/tests/test_decorators.py +++ dtest-0.3.2/tests/test_decorators.py @@ -30,7 +30,7 @@ @failing def test_failing(): - pass + assert_true(False) @attr(attr1=1, attr2=2) @@ -38,7 +38,7 @@ pass -@depends(test_skip, test_failing, test_attr, TestThrowaway.test_fordep) +@depends(test_skip, test_attr, TestThrowaway.test_fordep) def test_depends(): pass @@ -90,7 +90,7 @@ # Part 1: Verify that test_depends() is dependent on # test_skip(), test_failing(), and test_attr() assert_in(test_skip._dt_dtest, test_depends._dt_dtest.dependencies) - assert_in(test_failing._dt_dtest, test_depends._dt_dtest.dependencies) +# assert_in(test_failing._dt_dtest, test_depends._dt_dtest.dependencies) assert_in(test_attr._dt_dtest, test_depends._dt_dtest.dependencies) assert_in(TestThrowaway.test_fordep._dt_dtest, test_depends._dt_dtest.dependencies) @@ -98,7 +98,7 @@ # Part 2: Verify that test_depends() is in the depedents set # of test_skip(), test_failing(), and test_attr() assert_in(test_depends._dt_dtest, test_skip._dt_dtest.dependents) - assert_in(test_depends._dt_dtest, test_failing._dt_dtest.dependents) +# assert_in(test_depends._dt_dtest, test_failing._dt_dtest.dependents) assert_in(test_depends._dt_dtest, test_attr._dt_dtest.dependents) assert_in(test_depends._dt_dtest, TestThrowaway.test_fordep._dt_dtest.dependents) debian/patches/series0000644000000000000000000000007711607316107012040 0ustar #make-test-suite-pass.patch debian-changes-0.4.0-0ubuntu1~ppa1 debian/compat0000644000000000000000000000000211607315533010370 0ustar 7