Skip to content

Commit 59f1a4f

Browse files
authored
Expand tests (#28)
* remove unnecessary test skips * fix test failure on our custom provider
1 parent 76bc017 commit 59f1a4f

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ dependencies = [
2525

2626
[tool.pytest.ini_options]
2727
asyncio_mode = "auto"
28+
asyncio_default_fixture_loop_scope = "session"
29+
asyncio_default_test_loop_scope = "session"
2830
pythonpath = ["tests"]
2931
testpaths = ["tests/**/*.py"]
3032

tests/ec2sandboxtest/test_sandbox_self_check.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ async def test_self_check(ec2_sandbox_environment) -> None:
6262
"test_read_file_not_allowed", # user is root, so this doesn't work
6363
"test_write_text_file_without_permissions", # user is root
6464
"test_write_binary_file_without_permissions", # user is root
65-
"test_exec_timeout", # cancel_command requires ssm:CancelCommand
66-
"test_exec_stdout_is_limited", # SSM truncates large output before S3 upload
67-
"test_exec_stderr_is_limited", # SSM truncates large output before S3 upload
6865
]
6966

7067
return await check_results_of_self_check(ec2_sandbox_environment, known_failures)

0 commit comments

Comments
 (0)