Skip to content

Commit

Permalink
fix lint problem
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyongchao committed Nov 12, 2024
1 parent 98c28e3 commit a69ade5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/basic_tests/test_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,8 @@ def test_engine_formatter_end(self):
dict(id='2', kind='Code', name='m2',
args=dict(code='def test1(x: int):\n return [[x, 2*x], [3*x, 4*x]]\n')),
# two unused node
dict(id='3', kind='Code', name='m3', args=dict(code='def test2(x: int):\n return dict(a=1, b=x * x)\n')),
dict(id='3', kind='Code', name='m3',
args=dict(code='def test2(x: int):\n return dict(a=1, b=x * x)\n')),
dict(id='4', kind='Code', name='m4', args=dict(code='def test3(x, y, z):\n return f"{x}{y}{z}"\n'))]
edges = [dict(iid='__start__', oid='1'), dict(iid='__start__', oid='2'), dict(iid='2', oid='__end__'),
dict(iid='1', oid='__end__')]
Expand Down Expand Up @@ -525,4 +526,3 @@ def test_rag(self):
engine = LightEngine()
engine.update(gid, nodes, edges, resources)
assert '观天之道,执天之行' in engine.run(gid, '何为天道?')

0 comments on commit a69ade5

Please sign in to comment.