From 89afb609994d5997faef8930cbdccdfdca052bc2 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Thu, 18 Jun 2020 09:54:33 -0700 Subject: [PATCH] Fix transport defs in test connection plugins. --- .../targets/error_from_connection/connection_plugins/dummy.py | 3 --- .../shell/connection_plugins/test_connection_default.py | 3 --- .../shell/connection_plugins/test_connection_override.py | 3 --- 3 files changed, 9 deletions(-) diff --git a/test/integration/targets/error_from_connection/connection_plugins/dummy.py b/test/integration/targets/error_from_connection/connection_plugins/dummy.py index 2a2c879581a..59a81a1bf3e 100644 --- a/test/integration/targets/error_from_connection/connection_plugins/dummy.py +++ b/test/integration/targets/error_from_connection/connection_plugins/dummy.py @@ -26,9 +26,6 @@ class Connection(ConnectionBase): raise AnsibleError('an error with {{ some Jinja }}') - def transport(self): - pass - def _connect(self): pass diff --git a/test/integration/targets/shell/connection_plugins/test_connection_default.py b/test/integration/targets/shell/connection_plugins/test_connection_default.py index 52b027d00a8..60feedd6cda 100644 --- a/test/integration/targets/shell/connection_plugins/test_connection_default.py +++ b/test/integration/targets/shell/connection_plugins/test_connection_default.py @@ -25,9 +25,6 @@ class Connection(ConnectionBase): def __init__(self, *args, **kwargs): super(Connection, self).__init__(*args, **kwargs) - def transport(self): - pass - def _connect(self): pass diff --git a/test/integration/targets/shell/connection_plugins/test_connection_override.py b/test/integration/targets/shell/connection_plugins/test_connection_override.py index 56d531c4741..d26d2b529fd 100644 --- a/test/integration/targets/shell/connection_plugins/test_connection_override.py +++ b/test/integration/targets/shell/connection_plugins/test_connection_override.py @@ -26,9 +26,6 @@ class Connection(ConnectionBase): self._shell_type = 'powershell' # Set a shell type that is not sh super(Connection, self).__init__(*args, **kwargs) - def transport(self): - pass - def _connect(self): pass