Skip to content

Commit b243cb6

Browse files
committed
Add another unit test for sys.exit behavior
1 parent bd39320 commit b243cb6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit/test_args.py

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def test_mem_limit():
5353
with pytest.raises(SystemExit):
5454
r2d = make_r2d(["--build-memory-limit", "1024", "."])
5555

56+
with pytest.raises(SystemExit):
57+
r2d = make_r2d(["--Repo2Docker.build_memory_limit", "1024", "."])
5658

5759
def test_run_required():
5860
"""

0 commit comments

Comments
 (0)