mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 20:30:26 -06:00
Remove unused variables in tests
This commit removes or marks unused variables as "expected to be unused" by using '_' prefix. Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com> Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
1 parent
0f88f8fe88
commit
9d83be3647
42 files changed
+93
-111
No files matched your search
@@ -141,6 +141,6 @@ def test_multiline_description():
|
||||
assert '\n\n' in unicode(api.Command.trust_add.doc).strip()
|
||||
|
||||
with CLITestContext(exception=SystemExit) as help_ctx:
|
||||
return_value = api.Backend.cli.run(['trust-add', '-h'])
|
||||
api.Backend.cli.run(['trust-add', '-h'])
|
||||
|
||||
assert unicode(api.Command.trust_add.doc).strip() in help_ctx.stdout
|
||||
@@ -114,7 +114,7 @@ class test_ipagetkeytab(cmdline_test):
|
||||
self.keytabname)
|
||||
assert expected in result.error_output, (
|
||||
'Success message not in output:\n%s' % result.error_output)
|
||||
except ipautil.CalledProcessError as e:
|
||||
except ipautil.CalledProcessError:
|
||||
assert (False)
|
||||
|
||||
def test_3_use(self):
|
||||
|
||||
Reference in new issue
Block a user