Skip to content

Commit e5e1ff0

Browse files
committed
update tests
1 parent 96acfc7 commit e5e1ff0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/test_function_discovery.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def functionA():
129129
tests_root="tests", project_root_path=".", test_framework="pytest", tests_project_rootdir=Path()
130130
)
131131
path_obj_name = Path(f.name)
132-
functions, functions_count = get_functions_to_optimize(
132+
functions, functions_count, _ = get_functions_to_optimize(
133133
optimize_all=None,
134134
replay_test=None,
135135
file=path_obj_name,
@@ -145,7 +145,7 @@ def functionA():
145145
assert functions[file][0].function_name == "functionA"
146146
assert functions[file][0].top_level_parent_name == "A"
147147

148-
functions, functions_count = get_functions_to_optimize(
148+
functions, functions_count, _ = get_functions_to_optimize(
149149
optimize_all=None,
150150
replay_test=None,
151151
file=path_obj_name,
@@ -161,7 +161,7 @@ def functionA():
161161
assert functions[file][0].function_name == "functionA"
162162
assert functions[file][0].top_level_parent_name == "X"
163163

164-
functions, functions_count = get_functions_to_optimize(
164+
functions, functions_count, _ = get_functions_to_optimize(
165165
optimize_all=None,
166166
replay_test=None,
167167
file=path_obj_name,
@@ -229,7 +229,7 @@ def traverse(node_id):
229229
tests_root="tests", project_root_path=".", test_framework="pytest", tests_project_rootdir=Path()
230230
)
231231
path_obj_name = Path(f.name)
232-
functions, functions_count = get_functions_to_optimize(
232+
functions, functions_count, _ = get_functions_to_optimize(
233233
optimize_all=None,
234234
replay_test=None,
235235
file=path_obj_name,
@@ -258,7 +258,7 @@ def inner_function():
258258
tests_root="tests", project_root_path=".", test_framework="pytest", tests_project_rootdir=Path()
259259
)
260260
path_obj_name = Path(f.name)
261-
functions, functions_count = get_functions_to_optimize(
261+
functions, functions_count, _ = get_functions_to_optimize(
262262
optimize_all=None,
263263
replay_test=None,
264264
file=path_obj_name,
@@ -289,7 +289,7 @@ def another_inner_function():
289289
tests_root="tests", project_root_path=".", test_framework="pytest", tests_project_rootdir=Path()
290290
)
291291
path_obj_name = Path(f.name)
292-
functions, functions_count = get_functions_to_optimize(
292+
functions, functions_count, _ = get_functions_to_optimize(
293293
optimize_all=None,
294294
replay_test=None,
295295
file=path_obj_name,

0 commit comments

Comments
 (0)