summaryrefslogtreecommitdiff
path: root/wintest
diff options
context:
space:
mode:
authorJoe Guo <joeg@catalyst.net.nz>2018-07-30 18:19:33 +1200
committerDouglas Bagnall <dbagnall@samba.org>2018-08-24 07:49:29 +0200
commitc809a86023a2eb1c6802c8b3aa68c00f1ea03952 (patch)
tree444c38d0f236c6656f712e11a32ddf02578491f2 /wintest
parent1ccc36b4010cd63b1b63f4c0145466b8e09eb798 (diff)
downloadsamba-c809a86023a2eb1c6802c8b3aa68c00f1ea03952.tar.gz
PEP8: fix E261: at least two spaces before inline comment
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'wintest')
-rwxr-xr-xwintest/test-s4-howto.py2
-rw-r--r--wintest/wintest.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/wintest/test-s4-howto.py b/wintest/test-s4-howto.py
index 5a27c0edb86..0157fc73a9f 100755
--- a/wintest/test-s4-howto.py
+++ b/wintest/test-s4-howto.py
@@ -216,7 +216,7 @@ def test_dcpromo(t, vm):
"Last attempt .* was successful",
"CN=Configuration,${BASEDN}",
"Last attempt .* was successful",
- "CN=Configuration,${BASEDN}", # cope with either order
+ "CN=Configuration,${BASEDN}", # cope with either order
"Last attempt .* was successful",
"OUTBOUND NEIGHBORS",
"${BASEDN}",
diff --git a/wintest/wintest.py b/wintest/wintest.py
index b3ef09066d8..d421369086a 100644
--- a/wintest/wintest.py
+++ b/wintest/wintest.py
@@ -866,7 +866,7 @@ RebootOnCompletion=No
i = child.expect(["You must restart this computer", "failed", "Active Directory Domain Services was not installed", "C:", pexpect.TIMEOUT], timeout=240)
if i == 1 or i == 2:
raise Exception("dcpromo failed")
- if i == 4: # timeout
+ if i == 4: # timeout
child = self.open_telnet("${WIN_HOSTNAME}", "administrator", "${WIN_PASS}")
child.sendline("shutdown -r -t 0")