Merge pull request #640 from codeflash-ai/optimize-unit-test-discovery

optimize discover unit tests goto
This commit is contained in:
Saurabh Misra 2024-05-21 21:51:12 -07:00 committed by GitHub
commit bf3ca71545
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -315,9 +315,7 @@ def process_test_files(
scope_parameters = test_functions_list[index].parameters
test_type = test_functions_list[index].test_type
try:
definition = script.goto(
line=name.line,
column=name.column,
definition = name.goto(
follow_imports=True,
follow_builtin_imports=False,
)