summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/async/library
diff options
context:
space:
mode:
authorDag Wieers <dag@wieers.com>2017-05-30 19:05:19 +0200
committerJohn R Barker <john@johnrbarker.com>2017-05-30 19:05:19 +0200
commit4efec414e79b6f41caabae55027cb516c5965e9b (patch)
tree3523c0962a9f11e1b72de409a3883ca103244b9d /test/integration/targets/async/library
parentnxos_portchannel fix and unit test (#25019) (diff)
downloadansible-4efec414e79b6f41caabae55027cb516c5965e9b.tar.xz
ansible-4efec414e79b6f41caabae55027cb516c5965e9b.zip
test/: PEP8 compliancy (#24803)
* test/: PEP8 compliancy - Make PEP8 compliant * Python3 chokes on casting int to bytes (#24952) But if we tell the formatter that the var is a number, it works
Diffstat (limited to 'test/integration/targets/async/library')
-rw-r--r--test/integration/targets/async/library/async_test.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/integration/targets/async/library/async_test.py b/test/integration/targets/async/library/async_test.py
index e378a768b1..e4093bcb30 100644
--- a/test/integration/targets/async/library/async_test.py
+++ b/test/integration/targets/async/library/async_test.py
@@ -1,7 +1,9 @@
-import sys
import json
+import sys
+
from ansible.module_utils.basic import AnsibleModule
+
def main():
if "--interactive" in sys.argv:
import ansible.module_utils.basic
@@ -11,8 +13,9 @@ def main():
)
))
- module = AnsibleModule(argument_spec = dict(
- fail_mode = dict(type='list', default=['success'])
+ module = AnsibleModule(
+ argument_spec=dict(
+ fail_mode=dict(type='list', default=['success'])
)
)