diff --git a/test/test_completion.sh b/test/rsrc/test_completion.sh similarity index 100% rename from test/test_completion.sh rename to test/rsrc/test_completion.sh diff --git a/test/test_ui.py b/test/test_ui.py index 6c433e46d..61f20f83b 100644 --- a/test/test_ui.py +++ b/test/test_ui.py @@ -1080,9 +1080,7 @@ class CompletionTest(_common.TestCase): tester.stdin.writelines(completion_script) # Load test suite. - test_script = os.path.join( - os.path.dirname(__file__), 'test_completion.sh' - ) + test_script = os.path.join(_common.RSRC, 'test_completion.sh') with open(test_script, 'r') as test_script: tester.stdin.writelines(test_script) (out, err) = tester.communicate()