mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-03 08:52:55 +00:00
Reformat everything.
This commit is contained in:
parent
3f2213791a
commit
340ff8586d
1008 changed files with 61301 additions and 58309 deletions
|
|
@ -9,9 +9,7 @@ import platform
|
|||
|
||||
import pytest
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.modules import (
|
||||
solaris_zone
|
||||
)
|
||||
from ansible_collections.community.general.plugins.modules import solaris_zone
|
||||
from ansible_collections.community.internal_test_tools.tests.unit.plugins.modules.utils import (
|
||||
set_module_args,
|
||||
)
|
||||
|
|
@ -98,7 +96,7 @@ def test_zone_create_invalid_names(mocked_zone_create, capfd):
|
|||
# 1. Invalid character ('!').
|
||||
# 2. Zone name > 64 characters.
|
||||
# 3. Zone name beginning with non-alphanumeric character.
|
||||
for invalid_name in ('foo!bar', 'z' * 65, '_zone'):
|
||||
for invalid_name in ("foo!bar", "z" * 65, "_zone"):
|
||||
with set_module_args(
|
||||
{
|
||||
"name": invalid_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue