Skip to content

Commit

Permalink
Avoid using multiple processes in tests #787
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Ombredanne <[email protected]>
  • Loading branch information
pombredanne authored and JonoYang committed Feb 1, 2018
1 parent 2a7d7fb commit 1003b95
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/formattedcode/test_output_templated.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
from commoncode.testcase import FileDrivenTesting
from scancode.cli_test_utils import run_scan_click


test_env = FileDrivenTesting()
test_env.test_data_dir = os.path.join(os.path.dirname(__file__), 'data')

Expand Down Expand Up @@ -77,8 +76,7 @@ def test_scan_html_output_does_not_truncate_copyright_html():
test_dir = test_env.get_test_loc('templated/tree/scan/')
result_file = test_env.get_temp_file('test.html')

args = ['-clip', '--strip-root', '-n', '3', test_dir,
'--output-html', result_file]
args = ['-clip', '--strip-root', '--verbose', test_dir, '--output-html', result_file]

run_scan_click(args)
results = open(result_file).read()
Expand Down

0 comments on commit 1003b95

Please sign in to comment.