diff options
Diffstat (limited to 'test/sanity')
-rw-r--r-- | test/sanity/code-smell/azure-requirements.json | 4 | ||||
-rwxr-xr-x | test/sanity/code-smell/azure-requirements.py | 30 |
2 files changed, 0 insertions, 34 deletions
diff --git a/test/sanity/code-smell/azure-requirements.json b/test/sanity/code-smell/azure-requirements.json deleted file mode 100644 index 593b765d14..0000000000 --- a/test/sanity/code-smell/azure-requirements.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "no_targets": true, - "output": "path-message" -} diff --git a/test/sanity/code-smell/azure-requirements.py b/test/sanity/code-smell/azure-requirements.py deleted file mode 100755 index cef84f2062..0000000000 --- a/test/sanity/code-smell/azure-requirements.py +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env python -"""Make sure the Azure requirements files match.""" -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - -import filecmp -import os - - -def main(): - src = 'packaging/requirements/requirements-azure.txt' - dst = 'test/lib/ansible_test/_data/requirements/integration.cloud.azure.txt' - - missing = [p for p in [src, dst] if not os.path.isfile(p)] - - if missing: - for path in missing: - print('%s: missing required file' % path) - - return - - if not filecmp.cmp(src, dst): - print('%s: must be identical to `%s`' % (dst, src)) - - if os.path.islink(dst): - print('%s: must not be a symbolic link' % dst) - - -if __name__ == '__main__': - main() |