summaryrefslogtreecommitdiff
path: root/wintest
diff options
context:
space:
mode:
authorJoe Guo <joeg@catalyst.net.nz>2018-07-30 18:22:11 +1200
committerDouglas Bagnall <dbagnall@samba.org>2018-08-24 07:49:30 +0200
commitcabb299749388ebfda74571753e7b0209d32b266 (patch)
treeba84f21aaf2432b74ba0f7a4a2a034c75b2f18b9 /wintest
parentd23170c961194234ef6131482233405cdd55a349 (diff)
downloadsamba-cabb299749388ebfda74571753e7b0209d32b266.tar.gz
PEP8: fix E703: statement ends with a semicolon
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-s3.py2
-rw-r--r--wintest/wintest.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/wintest/test-s3.py b/wintest/test-s3.py
index 1c013e908a7..71f5f775674 100755
--- a/wintest/test-s3.py
+++ b/wintest/test-s3.py
@@ -176,7 +176,7 @@ def create_root_account(t, vm):
child = t.pexpect_spawn('bin/net ads password root -Uadministrator%${WIN_PASS}')
child.expect("Enter new password for root")
child.sendline("${PASSWORD2}")
- child.expect("Password change for ");
+ child.expect("Password change for ")
child.expect(" completed")
child = t.pexpect_spawn('bin/net rpc shell -S ${WIN_HOSTNAME}.${WIN_REALM} -Uadministrator%${WIN_PASS}')
child.expect("net rpc>")
diff --git a/wintest/wintest.py b/wintest/wintest.py
index bf1b04d8774..4af7eb77b1d 100644
--- a/wintest/wintest.py
+++ b/wintest/wintest.py
@@ -329,7 +329,7 @@ nameserver %s
self.write_file('/etc/resolv.conf.wintest', contents, mode='a')
self.write_file('/etc/resolv.conf.wintest-bak', contents)
self.run_cmd("mv -f /etc/resolv.conf.wintest /etc/resolv.conf")
- self.resolv_conf_backup = '/etc/resolv.conf.wintest-bak';
+ self.resolv_conf_backup = '/etc/resolv.conf.wintest-bak'
def configure_bind(self, kerberos_support=False, include=None):
self.chdir('${PREFIX}')
@@ -737,7 +737,7 @@ options {
if set_dns:
set_dns = False
if self.set_dns(child):
- continue;
+ continue
if set_route:
child.sendline('route add 0.0.0.0 mask 0.0.0.0 ${WIN_DEFAULT_GATEWAY}')
child.expect("C:")