Skip to content

Commit d272a80

Browse files
committed
fix: test input file rename
1 parent 2122129 commit d272a80

File tree

1 file changed

+3
-3
lines changed
  • runpod/serverless/modules

1 file changed

+3
-3
lines changed

runpod/serverless/modules/job.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ async def send_result(session, job_data, job):
9696
# ------------------------------- Local Testing ------------------------------ #
9797
def get_local():
9898
'''
99-
Returns contents of test_inputs.json
99+
Returns contents of test_input.json
100100
'''
101-
if not os.path.exists('test_inputs.json'):
101+
if not os.path.exists('test_input.json'):
102102
log.warn('test_inputs.json not found, skipping local testing')
103103
return None
104104

105-
with open('test_inputs.json', 'r', encoding="UTF-8") as file:
105+
with open('test_input.json', 'r', encoding="UTF-8") as file:
106106
test_inputs = json.loads(file.read())
107107

108108
if 'id' not in test_inputs:

0 commit comments

Comments
 (0)