aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2018-06-11 17:34:42 -0400
committerTim Harder <radhermit@gmail.com>2018-06-11 20:32:35 -0400
commit93d2181e5c7bef73ae3ddc254d7d62430030f8d4 (patch)
tree2918b09b6f6b1a1ede21ffffd4e5172ee9faf960 /tests/test_source_hygene.py
parentmove to using pkgdist from snakeoil (diff)
downloadpkgcore-93d2181e5c7bef73ae3ddc254d7d62430030f8d4.tar.gz
pkgcore-93d2181e5c7bef73ae3ddc254d7d62430030f8d4.tar.bz2
pkgcore-93d2181e5c7bef73ae3ddc254d7d62430030f8d4.zip
migrate tests to py3
Diffstat (limited to 'tests/test_source_hygene.py')
-rw-r--r--tests/test_source_hygene.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test_source_hygene.py b/tests/test_source_hygene.py
index f05c44177..af6b2a594 100644
--- a/tests/test_source_hygene.py
+++ b/tests/test_source_hygene.py
@@ -1,14 +1,15 @@
# Copyright: 2006 Brian Harring <ferringb@gmail.com>
# License: GPL2/BSD
-from snakeoil.test import test_demandload_usage, test_source_hygene
+from snakeoil.test.demandload import DemandLoadTargets
+from snakeoil.test.modules import ExportedModules
-class TestDemandLoadUsage(test_demandload_usage.TestDemandLoadTargets):
+class TestDemandLoadUsage(DemandLoadTargets):
target_namespace = "pkgcore"
ignore_all_import_failures = True
-class Test_modules(test_source_hygene.Test_modules):
+class Test_modules(ExportedModules):
target_namespace = 'pkgcore'
ignore_all_import_failures = True