mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 14:36:00 -03:30
Merge pull request #1822 from AlanCoding/f8
fix flake8 introduced by new tests
This commit is contained in:
@@ -253,7 +253,7 @@ def test_optional_survey_question_defaults(
|
|||||||
('password', 'foo', 5, {'extra_vars': {'x': ''}}, {'x': ''}),
|
('password', 'foo', 5, {'extra_vars': {'x': ''}}, {'x': ''}),
|
||||||
('password', ENCRYPTED_SECRET, 5, {'extra_vars': {'x': '$encrypted$'}}, {}),
|
('password', ENCRYPTED_SECRET, 5, {'extra_vars': {'x': '$encrypted$'}}, {}),
|
||||||
('password', ENCRYPTED_SECRET, 10, {'extra_vars': {'x': '$encrypted$'}}, {'x': ENCRYPTED_SECRET}),
|
('password', ENCRYPTED_SECRET, 10, {'extra_vars': {'x': '$encrypted$'}}, {'x': ENCRYPTED_SECRET}),
|
||||||
], ids=DistinctParametrize())
|
], ids=DistinctParametrize())
|
||||||
def test_survey_encryption_defaults(survey_spec_factory, question_type, default, maxlen, kwargs, expected):
|
def test_survey_encryption_defaults(survey_spec_factory, question_type, default, maxlen, kwargs, expected):
|
||||||
spec = survey_spec_factory([
|
spec = survey_spec_factory([
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user