Skip to content

Commit 6e765bf

Browse files
committed
Add test documentation
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 9d9d1a1 commit 6e765bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_extractcode_cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ def run_extract(options, expected_rc=None, cwd=None):
3232
Run extractcode as a plain subprocess. Return rc, stdout, stderr.
3333
"""
3434
bin_dir = 'Scripts' if on_windows else 'bin'
35+
# note: this assumes that we are using a standard directory layout as set
36+
# with the configure script
3537
cmd_loc = os.path.join(project_root, 'tmp', bin_dir, 'extractcode')
3638
assert os.path.exists(cmd_loc + ('.exe' if on_windows else ''))
3739
args = [cmd_loc] + options

0 commit comments

Comments
 (0)