diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2020-03-24 16:18:39 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2020-04-07 16:43:36 -0400 |
commit | 71428ba1bc664feedbb41ea3d4a5b44a5a096dac (patch) | |
tree | 36eb1f76aab369cdc57a1bc7016a0d911b41ef44 /tests/plugin_tests.py | |
parent | dfcabc689e0e5fdc40c6ecf3df2c92b3e4a8bdd1 (diff) | |
download | sos-71428ba1bc664feedbb41ea3d4a5b44a5a096dac.tar.gz |
[global] Fix report import paths
Updates the uses of 'from sos.plugins' to 'from sos.report.plugins' in
order to fix imports across the project with the new tree organization.
Additionally, the legacy `sosreport` binary now injects the user's
current working directory into the path the python interpreter uses in
order to allow local execution from a git checkout.
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'tests/plugin_tests.py')
-rw-r--r-- | tests/plugin_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugin_tests.py b/tests/plugin_tests.py index 2b6cdb21..207cb724 100644 --- a/tests/plugin_tests.py +++ b/tests/plugin_tests.py @@ -17,7 +17,7 @@ try: except: from io import StringIO -from sos.plugins import Plugin, regex_findall, _mangle_command +from sos.report.plugins import Plugin, regex_findall, _mangle_command from sos.archive import TarFileArchive from sos.policies import LinuxPolicy, InitSystem import sos.policies |