Compare commits

..

3 commits

Author SHA1 Message Date
softwarefactory-project-zuul[bot]
ae0380d671
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
2023-05-10 14:18:34 +00:00
Adam Miller
4f46ff218f add changelog fragment
Signed-off-by: Adam Miller <admiller@redhat.com>
2023-05-09 16:32:56 -05:00
Adam Miller
07f1e11015 fix sysctl integration test failing on newer versions of core
Previously NoneType was allowable, now it fails to convert to a str
type.

Signed-off-by: Adam Miller <admiller@redhat.com>
2023-05-05 11:59:04 -05:00
2 changed files with 5 additions and 2 deletions

View file

@ -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."

View file

@ -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: