summaryrefslogtreecommitdiffstats
path: root/debian/tests
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests')
-rw-r--r--debian/tests/control18
-rwxr-xr-xdebian/tests/unit5
2 files changed, 23 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..18632a7
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,18 @@
+Tests: unit
+# Dependencies sourced from:
+# - test/lib/ansible_test/_data/requirements/units.txt
+# - test/units/requirements.txt
+Depends: @,
+ git,
+ python3-cryptography,
+ python3-jinja2,
+ python3-mock,
+ python3-passlib,
+ python3-pexpect,
+ python3-pytest,
+ python3-pytest-mock,
+ python3-pytest-forked,
+ python3-pytest-xdist,
+ python3-tz,
+ python3-winrm,
+ python3-yaml
diff --git a/debian/tests/unit b/debian/tests/unit
new file mode 100755
index 0000000..9191b56
--- /dev/null
+++ b/debian/tests/unit
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+bin/ansible-test units \
+ --python-interpreter /usr/bin/python3 \
+ --local