Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make tests run with namespace structure
Make subunit search for tests in the namespace, to avoid the error of attempting to import relatively beyond top level package. Also, use relative import in tests.
- Loading branch information
1 parent
fdfbd8c
commit 2c6cfee
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[DEFAULT] | ||
test_command=${PYTHON:-python} -m subunit.run discover libindic/spellchecker $LISTOPT $IDOPTION | ||
test_command=${PYTHON:-python} -m subunit.run discover libindic $LISTOPT $IDOPTION | ||
test_id_option=--load-list $IDFILE | ||
test_list_option=--list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters