Skip to content

Commit

Permalink
Trying to fix the Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinXPN authored May 16, 2024
1 parent eb891c6 commit 21b69ce
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions tests/integration/coderunners/test_multi_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,21 @@ def run_test(request: SubmissionRequest) -> SubmissionResult:

def test_python(self):
self.run_test(SubmissionRequest(test_cases=self.test_cases, language='python', code={
'main.py': 'from dir.code import one\n\nprint(one() + one())',
'ones.py': 'def ret_one():\n return 1',
'main.py': dedent('''
from dir.code import one
print(one() + one())
'''),
'ones.py': dedent('''
def ret_one():
return 1
'''),
'dir': {
'code.py': 'from ones import ret_one\n\ndef one():\n return ret_one()'
}
'code.py': dedent('''
from ones import ret_one
def one():
return ret_one()
'''),
},
}))

def test_cpp(self):
Expand Down

0 comments on commit 21b69ce

Please sign in to comment.