Skip to content

Commit a7a06ea

Browse files
committed
Update test_async_wrapper_sqlite_validation.py
1 parent 58e5592 commit a7a06ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_async_wrapper_sqlite_validation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def test_env_setup(self, request):
2727
"CODEFLASH_TEST_MODULE": __name__,
2828
"CODEFLASH_TEST_CLASS": "TestAsyncWrapperSQLiteValidation",
2929
"CODEFLASH_TEST_FUNCTION": request.node.name,
30+
"CODEFLASH_CURRENT_LINE_ID": "test_unit",
3031
}
3132

3233
for key, value in test_env.items():
@@ -60,6 +61,7 @@ async def simple_async_add(a: int, b: int) -> int:
6061
await asyncio.sleep(0.001)
6162
return a + b
6263

64+
os.environ['CODEFLASH_CURRENT_LINE_ID'] = 'simple_async_add_59'
6365
result = await simple_async_add(5, 3)
6466

6567
assert result == 8

0 commit comments

Comments
 (0)