parent
9e278835c2
commit
eb53f66641
11 changed files with 59 additions and 87 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import ast
|
||||
import types
|
||||
from pathlib import Path
|
||||
from textwrap import dedent
|
||||
|
||||
import pytest
|
||||
|
|
@ -18,9 +19,8 @@ def client():
|
|||
|
||||
@pytest.fixture
|
||||
def code_component_with_multiple_outputs():
|
||||
with open("src/backend/tests/data/component_multiple_outputs.py") as f:
|
||||
code = f.read()
|
||||
return Component(_code=code)
|
||||
code = Path("src/backend/tests/data/component_multiple_outputs.py").read_text()
|
||||
return Component(_code=code)
|
||||
|
||||
|
||||
code_default = """
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue