Skip to content

Commit

Permalink
Merge pull request #5887 from freedomofpress/disable-pylint-on-funky-…
Browse files Browse the repository at this point in the history
…tuple

Disabled pylint undefined-variable check for tuple definition in test parametrization
  • Loading branch information
kushaldas authored Apr 6, 2021
2 parents b6bae0f + cc725a9 commit 7fb901c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion securedrop/tests/test_journalist.py
Original file line number Diff line number Diff line change
Expand Up @@ -1538,7 +1538,7 @@ def test_admin_add_user_too_short_username(config, journalist_app, test_admin, l
(
(locale, "a" * i)
for locale in get_test_locales()
for i in get_plural_tests()[locale] if i != 0
for i in get_plural_tests()[locale] if i != 0 # pylint: disable=undefined-variable
)
)
def test_admin_add_user_yubikey_odd_length(journalist_app, test_admin, locale, secret):
Expand Down

0 comments on commit 7fb901c

Please sign in to comment.