Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ansible FreeIPA
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Ansible FreeIPA
Commits
a86970ef
Commit
a86970ef
authored
3 years ago
by
Thomas Woerner
Browse files
Options
Downloads
Patches
Plain Diff
Remove "’" from yaml files
This patch is needed to pass Automation Hub tests.
parent
0af208d2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/pytests/dnszone/playbooks/dnszone_invalid_ip.yaml
+1
-1
1 addition, 1 deletion
tests/pytests/dnszone/playbooks/dnszone_invalid_ip.yaml
tests/pytests/dnszone/test_dnszone.py
+1
-1
1 addition, 1 deletion
tests/pytests/dnszone/test_dnszone.py
with
2 additions
and
2 deletions
tests/pytests/dnszone/playbooks/dnszone_invalid_ip.yaml
+
1
−
1
View file @
a86970ef
---
---
-
name
:
Playbook to with invalid IP
’
s in allow_transfer.
-
name
:
Playbook to with invalid IPs in allow_transfer.
hosts
:
ipaserver
hosts
:
ipaserver
become
:
true
become
:
true
...
...
This diff is collapsed.
Click to expand it.
tests/pytests/dnszone/test_dnszone.py
+
1
−
1
View file @
a86970ef
...
@@ -112,7 +112,7 @@ class TestDNSZone(AnsibleFreeIPATestCase):
...
@@ -112,7 +112,7 @@ class TestDNSZone(AnsibleFreeIPATestCase):
self
.
check_notexists
([
error
],
"
dnszone-show
"
,
[
add_zone
])
self
.
check_notexists
([
error
],
"
dnszone-show
"
,
[
add_zone
])
def
test_dnszone_invalid_ip
(
self
):
def
test_dnszone_invalid_ip
(
self
):
"""
TC-07: Update with invalid IP
’
s in allow_transfer. Bug#1845051.
"""
"""
TC-07: Update with invalid IPs in allow_transfer. Bug#1845051.
"""
invalid_zone_name
=
"
invalidzone.test
"
invalid_zone_name
=
"
invalidzone.test
"
invalid_zone_ip
=
"
in.va.li.d
"
invalid_zone_ip
=
"
in.va.li.d
"
expected_error
=
"
Invalid IP for DNS forwarder
"
expected_error
=
"
Invalid IP for DNS forwarder
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment