From: Michael Tremer Date: Sat, 9 Jan 2021 16:22:32 +0000 (+0000) Subject: Drop old python test X-Git-Tag: 0.9.28~1285^2~918 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=971a10d793090aebb175a0c751eef2710ee719e0;p=pakfire.git Drop old python test Signed-off-by: Michael Tremer --- diff --git a/Makefile.am b/Makefile.am index 7ab952b05..589760257 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 index de9a25807..000000000 --- a/tests/module-load.py +++ /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)