Skip to content

Commit

Permalink
Fix sanity (#508)
Browse files Browse the repository at this point in the history
* Fix sanity

* Remove as unnecessary
  • Loading branch information
Andersson007 authored Feb 14, 2023
1 parent 2f151dc commit 9b8455c
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 25 deletions.
1 change: 0 additions & 1 deletion plugins/modules/mysql_replication.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,6 @@
mysql_common_argument_spec,
)
from ansible.module_utils._text import to_native
from ansible_collections.community.mysql.plugins.module_utils.version import LooseVersion

executed_queries = []

Expand Down
8 changes: 0 additions & 8 deletions tests/sanity/ignore-2.10.txt

This file was deleted.

8 changes: 0 additions & 8 deletions tests/sanity/ignore-2.11.txt

This file was deleted.

2 changes: 2 additions & 0 deletions tests/sanity/ignore-2.15.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ plugins/modules/mysql_info.py validate-modules:parameter-list-no-elements
plugins/modules/mysql_query.py validate-modules:parameter-list-no-elements
plugins/modules/mysql_user.py validate-modules:undocumented-parameter
plugins/modules/mysql_variables.py validate-modules:doc-required-mismatch
plugins/module_utils/mysql.py pylint:unused-import
plugins/module_utils/version.py pylint:unused-import
3 changes: 0 additions & 3 deletions tests/sanity/ignore-2.9.txt

This file was deleted.

5 changes: 0 additions & 5 deletions tests/unit/plugins/module_utils/test_mysql_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,13 @@
__metaclass__ = type

import pytest
try:
from unittest.mock import MagicMock
except ImportError:
from mock import MagicMock

from ansible_collections.community.mysql.plugins.module_utils.user import (
handle_grant_on_col,
has_grant_on_col,
normalize_col_grants,
sort_column_order
)
from ..utils import dummy_cursor_class


@pytest.mark.parametrize(
Expand Down

0 comments on commit 9b8455c

Please sign in to comment.