test: update workflow configuration and Financial Agent JSON structure (nightly fix) (#7112)
* ✅ (test_apply_json_filter.py): update test data generation to exclude whitespace characters and control characters in dictionary keys to improve data quality and reliability
* fix tests
This commit is contained in:
parent
4e6c2da0d1
commit
9f331d67e5
6 changed files with 167 additions and 148 deletions
|
|
@ -80,7 +80,8 @@ def test_complex_nested_access(data):
|
|||
|
||||
|
||||
# Test array operations on objects
|
||||
@given(data=st.lists(st.dictionaries(keys=st.text(), values=st.integers(), min_size=1), min_size=1))
|
||||
@given(data=st.lists(st.dictionaries(keys=st.text(min_size=1).filter(lambda s: s.strip() and not any(c in s for c in "\r\n\t")),
|
||||
values=st.integers(), min_size=1), min_size=1))
|
||||
def test_array_object_operations(data):
|
||||
if data and all(data):
|
||||
key = next(iter(data[0]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue