mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-21 18:01:28 -07:00
Improve code and coverage
This commit is contained in:
parent
5c9e05b026
commit
8ff33bd729
2 changed files with 3 additions and 6 deletions
|
@ -19,7 +19,7 @@ class dummy_cursor_class():
|
|||
|
||||
def fetchone(self):
|
||||
if self.ret_val_type == 'dict':
|
||||
return {'VERSION()': self.output}
|
||||
return {'version': self.output}
|
||||
|
||||
elif self.ret_val_type == 'list':
|
||||
return [self.output]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue