mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
test_kubernetes_lint_failures_silenced
This commit is contained in:
parent
997d0a814d
commit
b8383956d4
1 changed files with 1 additions and 1 deletions
|
@ -23,6 +23,7 @@ import salt.utils.files
|
|||
import salt.utils.platform
|
||||
from salt.modules import kubernetesmod as kubernetes
|
||||
|
||||
# pylint: disable=E1120
|
||||
|
||||
@contextmanager
|
||||
def mock_kubernetes_library():
|
||||
|
@ -78,7 +79,6 @@ class KubernetesTestCase(TestCase, LoaderModuleMockMixin):
|
|||
self.assertEqual(kubernetes.deployments(), ['mock_deployment_name'])
|
||||
self.assertTrue(
|
||||
kubernetes.kubernetes.client.ExtensionsV1beta1Api().list_namespaced_deployment().to_dict.called)\
|
||||
# pylint: disable=E1120
|
||||
|
||||
def test_services(self):
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue