diff options
author | Zach Smith <zd@zdsmith.com> | 2015-12-28 14:58:19 -0500 |
---|---|---|
committer | Zach Smith <zd@zdsmith.com> | 2015-12-28 14:58:19 -0500 |
commit | 7e51c3babec9f5dac3487f42008c3da58f6da4fd (patch) | |
tree | 710160e26a7a55271fe9cff3588c64ba5e76112b | |
parent | 0d85d161977bcfd9bb26b930ca13e66fd0e3786f (diff) | |
download | pycco-7e51c3babec9f5dac3487f42008c3da58f6da4fd.tar.gz |
Set max path length in test
-rw-r--r-- | tests/test_pycco.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_pycco.py b/tests/test_pycco.py index d008023..02ef008 100644 --- a/tests/test_pycco.py +++ b/tests/test_pycco.py @@ -156,7 +156,7 @@ def test_process(preserve_paths, index, choice): language=lang_name) -@given(lists(lists(text(min_size=1), min_size=1), min_size=1), lists(text(min_size=1), min_size=1)) +@given(lists(lists(text(min_size=1), min_size=1, max_size=30), min_size=1), lists(text(min_size=1), min_size=1)) def test_generate_index(path_lists, outdir_list): file_paths = [os.path.join(*path_list) for path_list in path_lists] outdir = os.path.join(*outdir_list) |