mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-09-15 12:22:16 +00:00
* Improve unit test condition.
* Improve/fix tests.
(cherry picked from commit fdb97428a3)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -57,4 +57,4 @@ class TestDockerConnectionClass(unittest.TestCase):
|
||||
self.dc._version = None
|
||||
self.dc.remote_user = 'foo'
|
||||
(self.assertRaisesRegexp if PY2 else self.assertRaisesRegex)(
|
||||
AnsibleError, '^Docker version check (.*?) failed: ', self.dc._get_actual_user)
|
||||
AnsibleError, '^Docker version check (.*?) failed:', self.dc._get_actual_user)
|
||||
|
||||
Reference in New Issue
Block a user