Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(findcode): better finding of test code
This fix sorts the --paths to look for code. Longest paths come first. This is for cases where one checks out other sources within his source directory. In such a case this structure can happen: my_package my_package/src/some_other_package Now when my_package gets found first. It logs an import error and then goes on. by sorting with longest paths first. I always get the most specific match first. Since the loop is short circuited here, it will never look at my_package. This fixes #15
- Loading branch information
Showing
4 changed files
with
32 additions
and
2 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
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
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
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