Skip to content

Commit

Permalink
chore: auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 11, 2023
1 parent 07a525c commit 8635272
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
10 changes: 8 additions & 2 deletions tests/test_host_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ def test_host_manager_getitem(host_pattern, num_hosts, hosts, include_extra_inve
(True, False),
)
def test_host_manager_not_getitem(
host_pattern, num_hosts, hosts, include_extra_inventory
host_pattern,
num_hosts,
hosts,
include_extra_inventory,
):
_hosts = hosts(include_extra_inventory=include_extra_inventory)
with pytest.raises(KeyError):
Expand Down Expand Up @@ -157,7 +160,10 @@ def test_host_manager_not_slice(host_slice, hosts, include_extra_inventory):
(True, False),
)
def test_host_manager_not_getattr(
host_pattern, num_hosts, hosts, include_extra_inventory
host_pattern,
num_hosts,
hosts,
include_extra_inventory,
):
_hosts = hosts(include_extra_inventory=include_extra_inventory)
assert not hasattr(_hosts, host_pattern)
Expand Down
5 changes: 4 additions & 1 deletion tests/test_module_dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ def test_dispatcher_contains(host_pattern, num_hosts, hosts, include_extra_inven
(True, False),
)
def test_dispatcher_not_contains(
host_pattern, num_hosts, hosts, include_extra_inventory
host_pattern,
num_hosts,
hosts,
include_extra_inventory,
):
hosts = hosts(include_extra_inventory=include_extra_inventory)
assert host_pattern not in hosts["all"]
Expand Down

0 comments on commit 8635272

Please sign in to comment.