Merge pull request #456 from maxamillion/tests/fix_sysctl_failures
fix sysctl integration test failing on newer versions of core Previously NoneType was allowable, now it fails to convert to a str type. SUMMARY fix sysctl integration test failing on newer versions of core Previously NoneType was allowable, now it fails to convert to a str type. ISSUE TYPE Bugfix Pull Request COMPONENT NAME sysctl
This commit is contained in:
commit
ae0380d671
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
bugfixes:
|
||||
- "Fix sysctl integration test failing on newer versions of core. Previously NoneType was allowable, now it fails to convert to a str type."
|
|
@ -170,7 +170,7 @@
|
|||
|
||||
- name: Try sysctl with no name
|
||||
sysctl:
|
||||
name:
|
||||
name: ""
|
||||
value: 1
|
||||
sysctl_set: yes
|
||||
ignore_errors: True
|
||||
|
@ -180,7 +180,7 @@
|
|||
assert:
|
||||
that:
|
||||
- sysctl_no_name is failed
|
||||
- "sysctl_no_name.msg == 'name cannot be None'"
|
||||
- "sysctl_no_name.msg == 'name cannot be blank'"
|
||||
|
||||
- name: Try sysctl with no value
|
||||
sysctl:
|
||||
|
|
Loading…
Reference in New Issue