summaryrefslogtreecommitdiffstats
path: root/ansible_collections/community/skydive/tests
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ansible_collections/community/skydive/tests/.gitignore1
-rw-r--r--ansible_collections/community/skydive/tests/sanity/ignore-2.10.txt21
-rw-r--r--ansible_collections/community/skydive/tests/sanity/ignore-2.11.txt21
-rw-r--r--ansible_collections/community/skydive/tests/sanity/ignore-2.9.txt16
-rw-r--r--ansible_collections/community/skydive/tests/sanity/requirements.txt4
-rw-r--r--ansible_collections/community/skydive/tests/unit/__init__.py0
-rw-r--r--ansible_collections/community/skydive/tests/unit/requirements.txt42
7 files changed, 105 insertions, 0 deletions
diff --git a/ansible_collections/community/skydive/tests/.gitignore b/ansible_collections/community/skydive/tests/.gitignore
new file mode 100644
index 000000000..ea1472ec1
--- /dev/null
+++ b/ansible_collections/community/skydive/tests/.gitignore
@@ -0,0 +1 @@
+output/
diff --git a/ansible_collections/community/skydive/tests/sanity/ignore-2.10.txt b/ansible_collections/community/skydive/tests/sanity/ignore-2.10.txt
new file mode 100644
index 000000000..121eab686
--- /dev/null
+++ b/ansible_collections/community/skydive/tests/sanity/ignore-2.10.txt
@@ -0,0 +1,21 @@
+plugins/module_utils/network/skydive/api.py future-import-boilerplate
+plugins/module_utils/network/skydive/api.py metaclass-boilerplate
+plugins/modules/skydive_capture.py validate-modules:doc-missing-type
+plugins/modules/skydive_capture.py validate-modules:doc-required-mismatch
+plugins/modules/skydive_capture.py validate-modules:invalid-ansiblemodule-schema
+plugins/modules/skydive_capture.py validate-modules:nonexistent-parameter-documented
+plugins/modules/skydive_capture.py validate-modules:parameter-type-not-in-doc
+plugins/modules/skydive_capture.py validate-modules:undocumented-parameter
+plugins/modules/skydive_edge.py validate-modules:doc-missing-type
+plugins/modules/skydive_edge.py validate-modules:doc-required-mismatch
+plugins/modules/skydive_edge.py validate-modules:nonexistent-parameter-documented
+plugins/modules/skydive_edge.py validate-modules:parameter-type-not-in-doc
+plugins/modules/skydive_edge.py validate-modules:undocumented-parameter
+plugins/modules/skydive_node.py validate-modules:doc-missing-type
+plugins/modules/skydive_node.py validate-modules:doc-required-mismatch
+plugins/modules/skydive_node.py validate-modules:invalid-ansiblemodule-schema
+plugins/modules/skydive_node.py validate-modules:nonexistent-parameter-documented
+plugins/modules/skydive_node.py validate-modules:parameter-type-not-in-doc
+plugins/modules/skydive_node.py validate-modules:undocumented-parameter
+plugins/doc_fragments/skydive.py future-import-boilerplate
+plugins/doc_fragments/skydive.py metaclass-boilerplate \ No newline at end of file
diff --git a/ansible_collections/community/skydive/tests/sanity/ignore-2.11.txt b/ansible_collections/community/skydive/tests/sanity/ignore-2.11.txt
new file mode 100644
index 000000000..121eab686
--- /dev/null
+++ b/ansible_collections/community/skydive/tests/sanity/ignore-2.11.txt
@@ -0,0 +1,21 @@
+plugins/module_utils/network/skydive/api.py future-import-boilerplate
+plugins/module_utils/network/skydive/api.py metaclass-boilerplate
+plugins/modules/skydive_capture.py validate-modules:doc-missing-type
+plugins/modules/skydive_capture.py validate-modules:doc-required-mismatch
+plugins/modules/skydive_capture.py validate-modules:invalid-ansiblemodule-schema
+plugins/modules/skydive_capture.py validate-modules:nonexistent-parameter-documented
+plugins/modules/skydive_capture.py validate-modules:parameter-type-not-in-doc
+plugins/modules/skydive_capture.py validate-modules:undocumented-parameter
+plugins/modules/skydive_edge.py validate-modules:doc-missing-type
+plugins/modules/skydive_edge.py validate-modules:doc-required-mismatch
+plugins/modules/skydive_edge.py validate-modules:nonexistent-parameter-documented
+plugins/modules/skydive_edge.py validate-modules:parameter-type-not-in-doc
+plugins/modules/skydive_edge.py validate-modules:undocumented-parameter
+plugins/modules/skydive_node.py validate-modules:doc-missing-type
+plugins/modules/skydive_node.py validate-modules:doc-required-mismatch
+plugins/modules/skydive_node.py validate-modules:invalid-ansiblemodule-schema
+plugins/modules/skydive_node.py validate-modules:nonexistent-parameter-documented
+plugins/modules/skydive_node.py validate-modules:parameter-type-not-in-doc
+plugins/modules/skydive_node.py validate-modules:undocumented-parameter
+plugins/doc_fragments/skydive.py future-import-boilerplate
+plugins/doc_fragments/skydive.py metaclass-boilerplate \ No newline at end of file
diff --git a/ansible_collections/community/skydive/tests/sanity/ignore-2.9.txt b/ansible_collections/community/skydive/tests/sanity/ignore-2.9.txt
new file mode 100644
index 000000000..a3bb73edc
--- /dev/null
+++ b/ansible_collections/community/skydive/tests/sanity/ignore-2.9.txt
@@ -0,0 +1,16 @@
+plugins/module_utils/network/skydive/api.py future-import-boilerplate
+plugins/module_utils/network/skydive/api.py metaclass-boilerplate
+plugins/modules/skydive_capture.py validate-modules:doc-missing-type
+plugins/modules/skydive_capture.py validate-modules:nonexistent-parameter-documented
+plugins/modules/skydive_capture.py validate-modules:parameter-type-not-in-doc
+plugins/modules/skydive_capture.py validate-modules:undocumented-parameter
+plugins/modules/skydive_edge.py validate-modules:doc-missing-type
+plugins/modules/skydive_edge.py validate-modules:nonexistent-parameter-documented
+plugins/modules/skydive_edge.py validate-modules:parameter-type-not-in-doc
+plugins/modules/skydive_edge.py validate-modules:undocumented-parameter
+plugins/modules/skydive_node.py validate-modules:doc-missing-type
+plugins/modules/skydive_node.py validate-modules:nonexistent-parameter-documented
+plugins/modules/skydive_node.py validate-modules:parameter-type-not-in-doc
+plugins/modules/skydive_node.py validate-modules:undocumented-parameter
+plugins/doc_fragments/skydive.py future-import-boilerplate
+plugins/doc_fragments/skydive.py metaclass-boilerplate
diff --git a/ansible_collections/community/skydive/tests/sanity/requirements.txt b/ansible_collections/community/skydive/tests/sanity/requirements.txt
new file mode 100644
index 000000000..3e3a96692
--- /dev/null
+++ b/ansible_collections/community/skydive/tests/sanity/requirements.txt
@@ -0,0 +1,4 @@
+packaging # needed for update-bundled and changelog
+sphinx ; python_version >= '3.5' # docs build requires python 3+
+sphinx-notfound-page ; python_version >= '3.5' # docs build requires python 3+
+straight.plugin ; python_version >= '3.5' # needed for hacking/build-ansible.py which will host changelog generation and requires python 3+
diff --git a/ansible_collections/community/skydive/tests/unit/__init__.py b/ansible_collections/community/skydive/tests/unit/__init__.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ansible_collections/community/skydive/tests/unit/__init__.py
diff --git a/ansible_collections/community/skydive/tests/unit/requirements.txt b/ansible_collections/community/skydive/tests/unit/requirements.txt
new file mode 100644
index 000000000..a9772bea1
--- /dev/null
+++ b/ansible_collections/community/skydive/tests/unit/requirements.txt
@@ -0,0 +1,42 @@
+boto3
+placebo
+pycrypto
+passlib
+pypsrp
+python-memcached
+pytz
+pyvmomi
+redis
+requests
+setuptools > 0.6 # pytest-xdist installed via requirements does not work with very old setuptools (sanity_ok)
+unittest2 ; python_version < '2.7'
+importlib ; python_version < '2.7'
+netaddr
+ipaddress
+netapp-lib
+solidfire-sdk-python
+
+# requirements for F5 specific modules
+f5-sdk ; python_version >= '2.7'
+f5-icontrol-rest ; python_version >= '2.7'
+deepdiff
+
+# requirement for Fortinet specific modules
+pyFMG
+
+# requirement for aci_rest module
+xmljson
+
+# requirement for winrm connection plugin tests
+pexpect
+
+# requirement for the linode module
+linode-python # APIv3
+linode_api4 ; python_version > '2.6' # APIv4
+
+# requirement for the gitlab module
+python-gitlab
+httmock
+
+# requirment for kubevirt modules
+openshift ; python_version >= '2.7'