mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 19:35:02 -02:30
dDo not apply distinct for series of only static fields
This commit is contained in:
committed by
Ryan Petrello
parent
525fd889e9
commit
b0722311e8
@@ -57,7 +57,7 @@ def test_empty_in(empty_value):
|
||||
@pytest.mark.parametrize(u"valid_value", [u'foo', u'foo,'])
|
||||
def test_valid_in(valid_value):
|
||||
field_lookup = FieldLookupBackend()
|
||||
value, new_lookup = field_lookup.value_to_python(JobTemplate, 'project__name__in', valid_value)
|
||||
value, new_lookup, _ = field_lookup.value_to_python(JobTemplate, 'project__name__in', valid_value)
|
||||
assert 'foo' in value
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user