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:
@@ -243,7 +243,6 @@ class test_PublicError(PublicExceptionTester):
|
||||
def test_init(self):
|
||||
message = u'The translated, interpolated message'
|
||||
format = 'key=%(key1)r and key2=%(key2)r'
|
||||
uformat = u'Translated key=%(key1)r and key2=%(key2)r'
|
||||
val1 = u'Value 1'
|
||||
val2 = u'Value 2'
|
||||
kw = dict(key1=val1, key2=val2)
|
||||
@@ -303,7 +302,6 @@ class test_PublicError(PublicExceptionTester):
|
||||
class subclass(self.klass):
|
||||
format = '%(true)r %(text)r %(number)r'
|
||||
|
||||
uformat = u'Translated %(true)r %(text)r %(number)r'
|
||||
kw = dict(true=True, text=u'Hello!', number=18)
|
||||
|
||||
# Test with format=str, message=None
|
||||
|
||||
Reference in New Issue
Block a user