aboutsummaryrefslogtreecommitdiffstats
path: root/tests/policy_tests.py
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2020-03-24 16:18:39 -0400
committerJake Hunsaker <jhunsake@redhat.com>2020-04-07 16:43:36 -0400
commit71428ba1bc664feedbb41ea3d4a5b44a5a096dac (patch)
tree36eb1f76aab369cdc57a1bc7016a0d911b41ef44 /tests/policy_tests.py
parentdfcabc689e0e5fdc40c6ecf3df2c92b3e4a8bdd1 (diff)
downloadsos-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/policy_tests.py')
-rw-r--r--tests/policy_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/policy_tests.py b/tests/policy_tests.py
index 71ef5c4a..69cc0529 100644
--- a/tests/policy_tests.py
+++ b/tests/policy_tests.py
@@ -8,7 +8,7 @@
import unittest
from sos.policies import Policy, PackageManager, import_policy
-from sos.plugins import Plugin, IndependentPlugin, RedHatPlugin, DebianPlugin
+from sos.report.plugins import Plugin, IndependentPlugin, RedHatPlugin, DebianPlugin
class FauxPolicy(Policy):
distro = "Faux"