diff options
author | Joseph Sutton <josephsutton@catalyst.net.nz> | 2023-04-13 07:47:39 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2023-05-16 23:29:32 +0000 |
commit | 8d6e4473409375f0e62dd06597ca983d22b941ca (patch) | |
tree | 596a854beef1cbd0e549d9340083812f8788fbcb /python | |
parent | 2a8db072934f2b75b992b57c9133afba446b74f5 (diff) | |
download | samba-8d6e4473409375f0e62dd06597ca983d22b941ca.tar.gz |
python:tests: Remove unused variables
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/samba/tests/samba_tool/user.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/python/samba/tests/samba_tool/user.py b/python/samba/tests/samba_tool/user.py index 28fb79146fa..54df97de645 100644 --- a/python/samba/tests/samba_tool/user.py +++ b/python/samba/tests/samba_tool/user.py @@ -435,8 +435,8 @@ class UserCmdTestCase(SambaToolCmdTest): for userobj in userlist: name = str(userobj.get("samaccountname", idx=0)) - found = self.assertMatch(out, name, - "user '%s' not found" % name) + self.assertMatch(out, name, + "user '%s' not found" % name) def test_list_base_dn(self): @@ -459,8 +459,8 @@ class UserCmdTestCase(SambaToolCmdTest): for userobj in userlist: name = str(userobj.get("samaccountname", idx=0)) - found = self.assertMatch(out, name, - "user '%s' not found" % name) + self.assertMatch(out, name, + "user '%s' not found" % name) def test_list_full_dn(self): (result, out, err) = self.runsubcmd("user", "list", "--full-dn", @@ -481,8 +481,8 @@ class UserCmdTestCase(SambaToolCmdTest): for userobj in userlist: name = str(userobj.get("dn", idx=0)) - found = self.assertMatch(out, name, - "user '%s' not found" % name) + self.assertMatch(out, name, + "user '%s' not found" % name) def test_list_hide_expired(self): expire_username = "expireUser" |