mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -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:
@@ -420,7 +420,7 @@ class TestComplexConfig(CheckConfig):
|
||||
def check_config(self, conf):
|
||||
assert len(conf.domains) == 3
|
||||
main_dom = conf.domains[0]
|
||||
(client1, client2, extra, extram1, extram2, master,
|
||||
(client1, client2, extra, extram1, extram2, _master,
|
||||
replica1, replica2) = sorted(main_dom.hosts, key=lambda h: h.role)
|
||||
assert main_dom.name == 'ipadomain.test'
|
||||
assert main_dom.type == 'IPA'
|
||||
|
||||
Reference in New Issue
Block a user