Skip to content

Commit

Permalink
tests: enlarge allowed time
Browse files Browse the repository at this point in the history
  • Loading branch information
jirikuncar committed Feb 16, 2018
1 parent 12d663a commit da9525d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion git_json_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ def _from_obj(obj):
yield path + ['.object'], None

for key, value in item.items():
assert isinstance(key, str)
stack.insert(0, (path + [json.dumps(key)], value))
elif isinstance(item, (tuple, list)):
if not item:
Expand Down
2 changes: 1 addition & 1 deletion test_git_json_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def json_data():


@given(data=json_data())
@settings(max_examples=1000, deadline=500)
@settings(max_examples=1000, deadline=10000)
def test_encode_decode(data, repo):
"""Test (d)encoding."""
assume(isinstance(data, (dict, list)))
Expand Down

0 comments on commit da9525d

Please sign in to comment.