Skip to content

Commit 84757ce

Browse files
authored
[tooling] Use PYTHONPATH in test download script (#223)
# Exercise Review ## Exercise Discussion Fixes #222 ## Checklist - [ ] If you require a new remote repository on the `Git-Mastery` organization, have you [created a request](https://github.com/git-mastery/exercises/issues/new?template=request_exercise_repository.md) for it? - [ ] Have you written unit tests using [`repo-smith`](https://github.com/git-mastery/repo-smith) to validate the exercise grading scheme? - [X] Have you tested your changes using the instructions posted? - [ ] Have you verified that this exercise does not already exist or is not currently in review? - [ ] Did you introduce a new grading mechanism that should belong to [`git-autograder`](https://github.com/git-mastery/git-autograder)? - [ ] Did you introduce a new dependency that should belong to [`app`](https://github.com/git-mastery/app)?
1 parent 6c3cf9a commit 84757ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test-download.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/bin/bash
22

3-
python scripts/test-download.py $1
3+
# PYTHONPATH tells python to look for modules in the current directory
4+
PYTHONPATH="." python scripts/test-download.py $1

0 commit comments

Comments
 (0)