From b243cb60792112c8fd009ee17e0417e8b5ef5643 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Tue, 11 Feb 2025 20:58:36 -0800 Subject: [PATCH] Add another unit test for sys.exit behavior --- tests/unit/test_args.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit/test_args.py b/tests/unit/test_args.py index e3257f44..d416d204 100644 --- a/tests/unit/test_args.py +++ b/tests/unit/test_args.py @@ -53,6 +53,8 @@ def test_mem_limit(): with pytest.raises(SystemExit): r2d = make_r2d(["--build-memory-limit", "1024", "."]) + with pytest.raises(SystemExit): + r2d = make_r2d(["--Repo2Docker.build_memory_limit", "1024", "."]) def test_run_required(): """