You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units
Donatas Abraitis 11c1777d56
facts: List all local (scope host) IP address ranges (#79018)
After changes:
```
        "ansible_locally_reachable_ips": {
            "ipv4": [
                "127.0.0.0/8",
                "127.0.0.1",
                "192.168.0.1",
                "192.168.1.0/24"
            ],
            "ipv6": [
                "::1",
                "fe80::2eea:7fff:feca:fe68",
                ...
            ]
        },
```

192.168.1.0/24 is a local prefix, where any IP address inside this range
is reachable locally (or outside this host if this prefix is announced via
EGP/IGP).

Signed-off-by: Donatas Abraitis <donatas.abraitis@hostinger.com>
2 years ago
..
_vendor Use unittest.mock instead of mock. (#77883) 3 years ago
ansible_test Avoid deprecated method in unit tests. 3 years ago
cli tests: Fix `test_ansible_version()` when run within a git checkout (#78636) 2 years ago
compat Remove unit test Python 2.6 compat. (#78369) 2 years ago
config Yolo (#77554) 3 years ago
errors Clean up unit tests. (#78498) 2 years ago
executor Fix connection/become task loop settings (#78565) 2 years ago
galaxy Add --offline option to 'ansible-galaxy collection install' (#78678) 2 years ago
inventory Fix pytest collection during test_host partial run 2 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 10 years ago
mock Use unittest.mock instead of mock. (#77883) 3 years ago
module_utils facts: List all local (scope host) IP address ranges (#79018) 2 years ago
modules Prefer unittest.mock over mock. (#77886) 3 years ago
parsing Remove unit test pytz requirement. (#78368) 2 years ago
playbook Use classproperty to access field attributes of a class (#78180) 2 years ago
plugins add ansible_name/ansible_aliases attrs to plugin objects (#78700) 2 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 6 years ago
template Use unittest.mock instead of mock. (#77883) 3 years ago
utils Skip test if no there are no problematic chars for wcswidth (#78645) 2 years ago
vars Use unittest.mock instead of mock. (#77883) 3 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
requirements.txt Update unit test controller requirements. (#78376) 2 years ago
test_constants.py Remove some constants.py deprecated items (#70466) 4 years ago
test_context.py Clean up unit test boilerplate. 5 years ago
test_no_tty.py ansible-test - Fix subprocess management. (#77641) 3 years ago