Skip to content

Commit 0af21c9

Browse files
committed
cp dines
1 parent 9d9e3c7 commit 0af21c9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/smoketests/sdk/test_async_devbox.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -728,11 +728,11 @@ async def test_shell_exec_cwd_persistence(self, devbox: AsyncDevbox) -> None:
728728
# Create a file in the current directory
729729
await shell.exec('echo "test content" > testfile.txt')
730730

731-
# Verify the file exists in the current directory
732-
ls_result = await shell.exec("ls testfile.txt")
733-
assert ls_result.exit_code == 0
734-
ls_output = await ls_result.stdout()
735-
assert "testfile.txt" in ls_output
731+
# Verify the file exists and has the correct content in the current directory
732+
cat_result = await shell.exec("cat testfile.txt")
733+
assert cat_result.exit_code == 0
734+
cat_output = await cat_result.stdout()
735+
assert "test content" in cat_output
736736

737737
@pytest.mark.timeout(TWO_MINUTE_TIMEOUT)
738738
async def test_shell_exec_env_persistence(self, devbox: AsyncDevbox) -> None:

0 commit comments

Comments
 (0)