]> git.ipfire.org Git - pakfire.git/commitdiff
Drop old python test
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 9 Jan 2021 16:22:32 +0000 (16:22 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 9 Jan 2021 16:22:32 +0000 (16:22 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
tests/module-load.py [deleted file]

index 7ab952b0537a248cd4267d17650e9b398eb66eed..589760257163f096c8d8a488c67d15a6b96d34fa 100644 (file)
@@ -597,7 +597,6 @@ TESTS_ENVIRONMENT = \
 
 dist_check_SCRIPTS = \
        tests/python/test.py
-#      tests/module-load.py
 
 TESTS = \
        $(check_PROGRAMS) \
diff --git a/tests/module-load.py b/tests/module-load.py
deleted file mode 100644 (file)
index de9a258..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/python
-
-import os
-import sys
-
-# Try to load the _pakfire module.
-import pakfire
-
-# Check that we didn't load the system's version.
-topdir = os.environ.get("topdir")
-
-if not pakfire.__file__.startswith(topdir):
-       print "Wrong module loaded..."
-       sys.exit(1)