Skip to content

Commit fd2aec1

Browse files
committed
fixed linting issue and added changelog
1 parent 6d27e69 commit fd2aec1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

changes/144.fixed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
If the value is a a bool, the function extract_data_from_json will attempt to iterate through the nested values

tests/test_get_value.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,6 @@ def test_not_iterable_value():
151151

152152
value = extract_data_from_json(data=data, path=path)
153153

154-
assert value == True
154+
expected_output = True
155+
156+
assert value == expected_output

0 commit comments

Comments
 (0)