diff options
author | 2011-06-24 23:47:27 +0200 | |
---|---|---|
committer | 2011-06-24 23:47:27 +0200 | |
commit | e6ec92754b1c351d61c243abe39e64f0f852b113 (patch) | |
tree | 383bf0e14f6187cf770528b8ece909e2b86fefb3 /setup.py | |
parent | Verbosely print 'Checking test results'. (diff) | |
download | pms-test-suite-e6ec92754b1c351d61c243abe39e64f0f852b113.tar.gz pms-test-suite-e6ec92754b1c351d61c243abe39e64f0f852b113.tar.bz2 pms-test-suite-e6ec92754b1c351d61c243abe39e64f0f852b113.zip |
Rename the module and interfaces to 'pmstestsuite'.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -9,7 +9,7 @@ import os.path, sys sys.path.insert(0, os.path.dirname(__file__)) try: - from PMSTestSuite import PV + from pmstestsuite import PV except ImportError: PV = 'unknown' @@ -94,13 +94,13 @@ class TestCommand(Command): import unittest, doctest tests = unittest.TestSuite() - tests.addTests(doctest.DocTestSuite('PMSTestSuite.cli')) - tests.addTests(doctest.DocTestSuite('PMSTestSuite.library')) - tests.addTests(doctest.DocTestSuite('PMSTestSuite.library.case')) - tests.addTests(doctest.DocTestSuite('PMSTestSuite.pm')) - tests.addTests(doctest.DocTestSuite('PMSTestSuite.pm.pkgcorepm')) - tests.addTests(doctest.DocTestSuite('PMSTestSuite.pm.portagepm')) - tests.addTests(doctest.DocTestSuite('PMSTestSuite.repository')) + tests.addTests(doctest.DocTestSuite('pmstestsuite.cli')) + tests.addTests(doctest.DocTestSuite('pmstestsuite.library')) + tests.addTests(doctest.DocTestSuite('pmstestsuite.library.case')) + tests.addTests(doctest.DocTestSuite('pmstestsuite.pm')) + tests.addTests(doctest.DocTestSuite('pmstestsuite.pm.pkgcorepm')) + tests.addTests(doctest.DocTestSuite('pmstestsuite.pm.portagepm')) + tests.addTests(doctest.DocTestSuite('pmstestsuite.repository')) r = unittest.TextTestRunner() res = r.run(tests) @@ -117,12 +117,12 @@ setup( url = 'http://www.gentoo.org/proj/en/qa/pms/pms-test-suite.xml', packages = [ - 'PMSTestSuite', - 'PMSTestSuite.library', - 'PMSTestSuite.library.standard', - 'PMSTestSuite.library.test', - 'PMSTestSuite.pm', - 'PMSTestSuite.repository' + 'pmstestsuite', + 'pmstestsuite.library', + 'pmstestsuite.library.standard', + 'pmstestsuite.library.test', + 'pmstestsuite.pm', + 'pmstestsuite.repository' ], scripts = [ 'pms-tester' |