Python: Make test/Filter query more robust

Since if you had tornado installed, we would follow imports and have
results from those files as well :|
This commit is contained in:
Rasmus Wriedt Larsen
2022-08-16 09:02:42 +02:00
parent 9c275c177a
commit ed70e118a9

View File

@@ -2,4 +2,5 @@ import python
import semmle.python.filters.Tests
from TestScope t
where exists(t.getLocation().getFile().getRelativePath())
select t