summaryrefslogtreecommitdiffstats
path: root/debian/tests
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests')
-rw-r--r--debian/tests/control7
-rw-r--r--debian/tests/internaltest-py.sh2
2 files changed, 4 insertions, 5 deletions
diff --git a/debian/tests/control b/debian/tests/control
index 9b40f99..8ec5461 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -10,10 +10,9 @@ Tests: internaltest-monitor.sh
Depends: @
Restrictions: needs-root, allow-stderr, isolation-container, flaky
-# Disable test until we decide what to do with the nftables python module
-#Tests: internaltest-py.sh
-#Depends: @, python
-#Restrictions: needs-root, allow-stderr, isolation-container, build-needed
+Tests: internaltest-py.sh
+Depends: @, python3
+Restrictions: needs-root, allow-stderr, isolation-container, flaky
Tests: systemd-service-test.sh
Depends: systemd, @
diff --git a/debian/tests/internaltest-py.sh b/debian/tests/internaltest-py.sh
index f8e7627..2b898b9 100644
--- a/debian/tests/internaltest-py.sh
+++ b/debian/tests/internaltest-py.sh
@@ -9,4 +9,4 @@ fi
set -e
cd tests/py
-NFT=$(which nft) ./nft-test.py
+NFT=$(which nft) python3 ./nft-test.py