diff options
author | 2011-08-12 22:45:53 +0200 | |
---|---|---|
committer | 2011-08-12 22:45:53 +0200 | |
commit | 1ed2e474b2f458d85e178ba1500c83758a265f92 (patch) | |
tree | 310629d46aceb9a2a3f77f21414c8f4c8fe9efc5 | |
parent | HTML output: include PM version as well. (diff) | |
download | pms-test-suite-1ed2e474b2f458d85e178ba1500c83758a265f92.tar.gz pms-test-suite-1ed2e474b2f458d85e178ba1500c83758a265f92.tar.bz2 pms-test-suite-1ed2e474b2f458d85e178ba1500c83758a265f92.zip |
Use relative imports within the test library.
-rw-r--r-- | pmstestsuite/library/standard/__init__.py | 3 | ||||
-rw-r--r-- | pmstestsuite/library/standard/banned_commands.py | 2 | ||||
-rw-r--r-- | pmstestsuite/library/standard/depend.py | 4 | ||||
-rw-r--r-- | pmstestsuite/library/standard/deprecated_vars.py | 4 | ||||
-rw-r--r-- | pmstestsuite/library/standard/doins_fail.py | 2 | ||||
-rw-r--r-- | pmstestsuite/library/standard/eclass_depend.py | 4 | ||||
-rw-r--r-- | pmstestsuite/library/standard/eclass_metadata.py | 2 | ||||
-rw-r--r-- | pmstestsuite/library/standard/ext_cases.py | 2 | ||||
-rw-r--r-- | pmstestsuite/library/standard/phase_function_order.py | 2 | ||||
-rw-r--r-- | pmstestsuite/library/standard/special_vars.py | 2 | ||||
-rw-r--r-- | pmstestsuite/library/standard/util.py | 2 | ||||
-rw-r--r-- | pmstestsuite/library/standard/variable_scope.py | 2 | ||||
-rw-r--r-- | pmstestsuite/library/standard/workdir_fallback.py | 2 |
13 files changed, 17 insertions, 16 deletions
diff --git a/pmstestsuite/library/standard/__init__.py b/pmstestsuite/library/standard/__init__.py index 58fe341..e3ab8ec 100644 --- a/pmstestsuite/library/standard/__init__.py +++ b/pmstestsuite/library/standard/__init__.py @@ -5,7 +5,8 @@ import os.path from pmstestsuite.library import TestLibrary -from pmstestsuite.library.standard.dbus_case import pms_dbus_eclass + +from .dbus_case import pms_dbus_eclass class StandardTestLibrary(TestLibrary): """ diff --git a/pmstestsuite/library/standard/banned_commands.py b/pmstestsuite/library/standard/banned_commands.py index bf7a715..1eae774 100644 --- a/pmstestsuite/library/standard/banned_commands.py +++ b/pmstestsuite/library/standard/banned_commands.py @@ -2,7 +2,7 @@ # (c) 2011 Michał Górny <mgorny@gentoo.org> # Released under the terms of the 2-clause BSD license. -from pmstestsuite.library.standard.dbus_case import DBusEbuildTestCase +from .dbus_case import DBusEbuildTestCase class BannedCommandTest(DBusEbuildTestCase): supported_eapis = (range(0, 4), (4,)) diff --git a/pmstestsuite/library/standard/depend.py b/pmstestsuite/library/standard/depend.py index 2a3049f..0ecfe9e 100644 --- a/pmstestsuite/library/standard/depend.py +++ b/pmstestsuite/library/standard/depend.py @@ -2,8 +2,8 @@ # (c) 2011 Michał Górny <mgorny@gentoo.org> # Released under the terms of the 2-clause BSD license. -from pmstestsuite.library.standard.dbus_case import DBusEbuildDependencyTestCase -from pmstestsuite.library.standard.util import EbuildToucher, FailingEbuild +from .dbus_case import DBusEbuildDependencyTestCase +from .util import EbuildToucher, FailingEbuild class DependTest(DBusEbuildDependencyTestCase): """ DEPEND fulfilling test. """ diff --git a/pmstestsuite/library/standard/deprecated_vars.py b/pmstestsuite/library/standard/deprecated_vars.py index 03286f5..9f695cb 100644 --- a/pmstestsuite/library/standard/deprecated_vars.py +++ b/pmstestsuite/library/standard/deprecated_vars.py @@ -4,8 +4,8 @@ import os.path -from pmstestsuite.library.standard.dbus_case import DBusEbuildTestCase -from pmstestsuite.library.standard.ext_cases import DBusFetchingEbuildTestCase +from .dbus_case import DBusEbuildTestCase +from .ext_cases import DBusFetchingEbuildTestCase class AATest(DBusFetchingEbuildTestCase): """ Test whether AA is declared. """ diff --git a/pmstestsuite/library/standard/doins_fail.py b/pmstestsuite/library/standard/doins_fail.py index a45a8e1..a965377 100644 --- a/pmstestsuite/library/standard/doins_fail.py +++ b/pmstestsuite/library/standard/doins_fail.py @@ -2,7 +2,7 @@ # (c) 2011 Michał Górny <mgorny@gentoo.org> # Released under the terms of the 2-clause BSD license. -from pmstestsuite.library.standard.dbus_case import DBusEbuildTestCase +from .dbus_case import DBusEbuildTestCase class DoInsFailureTest(DBusEbuildTestCase): """ doins() failure handling test. """ diff --git a/pmstestsuite/library/standard/eclass_depend.py b/pmstestsuite/library/standard/eclass_depend.py index 5a43402..8812fb0 100644 --- a/pmstestsuite/library/standard/eclass_depend.py +++ b/pmstestsuite/library/standard/eclass_depend.py @@ -2,8 +2,8 @@ # (c) 2011 Michał Górny <mgorny@gentoo.org> # Released under the terms of the 2-clause BSD license. -from pmstestsuite.library.standard.dbus_case import DBusEclassDependencyTestCase -from pmstestsuite.library.standard.util import EbuildToucher +from .dbus_case import DBusEclassDependencyTestCase +from .util import EbuildToucher class DependInheritanceTest(DBusEclassDependencyTestCase): """ DEPEND variable inheritance test. """ diff --git a/pmstestsuite/library/standard/eclass_metadata.py b/pmstestsuite/library/standard/eclass_metadata.py index 08e1b55..d7b6cf6 100644 --- a/pmstestsuite/library/standard/eclass_metadata.py +++ b/pmstestsuite/library/standard/eclass_metadata.py @@ -4,7 +4,7 @@ from abc import abstractproperty -from pmstestsuite.library.standard.dbus_case import DBusEclassTestCase +from .dbus_case import DBusEclassTestCase class VariableInheritanceTest(DBusEclassTestCase): """ Eclass variable inheritance test. """ diff --git a/pmstestsuite/library/standard/ext_cases.py b/pmstestsuite/library/standard/ext_cases.py index b3add29..9f0bbf6 100644 --- a/pmstestsuite/library/standard/ext_cases.py +++ b/pmstestsuite/library/standard/ext_cases.py @@ -2,7 +2,7 @@ # (c) 2011 Michał Górny <mgorny@gentoo.org> # Released under the terms of the 2-clause BSD license. -from pmstestsuite.library.standard.dbus_case import DBusEbuildTestCase +from .dbus_case import DBusEbuildTestCase class DBusFetchingEbuildTestCase(DBusEbuildTestCase): """ diff --git a/pmstestsuite/library/standard/phase_function_order.py b/pmstestsuite/library/standard/phase_function_order.py index 21d8e23..2c56d4f 100644 --- a/pmstestsuite/library/standard/phase_function_order.py +++ b/pmstestsuite/library/standard/phase_function_order.py @@ -2,7 +2,7 @@ # (c) 2011 Michał Górny <mgorny@gentoo.org> # Released under the terms of the 2-clause BSD license. -from pmstestsuite.library.standard.dbus_case import DBusEbuildTestCase +from .dbus_case import DBusEbuildTestCase class PhaseFunctionOrderTest(DBusEbuildTestCase): """ Phase function execution order test. """ diff --git a/pmstestsuite/library/standard/special_vars.py b/pmstestsuite/library/standard/special_vars.py index cc8ca8f..eae9ca1 100644 --- a/pmstestsuite/library/standard/special_vars.py +++ b/pmstestsuite/library/standard/special_vars.py @@ -2,7 +2,7 @@ # (c) 2011 Michał Górny <mgorny@gentoo.org> # Released under the terms of the 2-clause BSD license. -from pmstestsuite.library.standard.dbus_case import DBusEbuildTestCase +from .dbus_case import DBusEbuildTestCase class InheritedVariableTest(DBusEbuildTestCase): """ INHERITED variable definition test. """ diff --git a/pmstestsuite/library/standard/util.py b/pmstestsuite/library/standard/util.py index c71695b..0bee1b5 100644 --- a/pmstestsuite/library/standard/util.py +++ b/pmstestsuite/library/standard/util.py @@ -2,7 +2,7 @@ # (c) 2011 Michał Górny <mgorny@gentoo.org> # Released under the terms of the 2-clause BSD license. -from pmstestsuite.library.standard.dbus_case import DBusEbuildTestCase +from .dbus_case import DBusEbuildTestCase class EbuildToucher(DBusEbuildTestCase): """ Touched file installer (for dependency tests). """ diff --git a/pmstestsuite/library/standard/variable_scope.py b/pmstestsuite/library/standard/variable_scope.py index c907ca7..60e3572 100644 --- a/pmstestsuite/library/standard/variable_scope.py +++ b/pmstestsuite/library/standard/variable_scope.py @@ -4,7 +4,7 @@ import re -from pmstestsuite.library.standard.dbus_case import DBusEbuildTestCase +from .dbus_case import DBusEbuildTestCase class VariableScopeTest(DBusEbuildTestCase): """ A test for scoping of variables. """ diff --git a/pmstestsuite/library/standard/workdir_fallback.py b/pmstestsuite/library/standard/workdir_fallback.py index 25085db..6c96abe 100644 --- a/pmstestsuite/library/standard/workdir_fallback.py +++ b/pmstestsuite/library/standard/workdir_fallback.py @@ -2,7 +2,7 @@ # (c) 2011 Michał Górny <mgorny@gentoo.org> # Released under the terms of the 2-clause BSD license. -from pmstestsuite.library.standard.ext_cases import DBusFetchingEbuildTestCase +from .ext_cases import DBusFetchingEbuildTestCase class WorkdirFallbackTest(DBusFetchingEbuildTestCase): """ S=${WORKDIR} fallback test. """ |