From 0bc89a678178aa5c4938b94aa94305c3e6296f70 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Tue, 3 Dec 2024 12:34:58 -0600 Subject: [PATCH] Mark test_docker_user_setting as requiring docker This test calls extend_cli_parser, which will fail if docker is not available. --- test/test_core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_core.py b/test/test_core.py index 85da664..855d585 100644 --- a/test/test_core.py +++ b/test/test_core.py @@ -239,6 +239,7 @@ def test_docker_user_detection(self): username_detected = getattr(userinfo, 'pw_' + 'name') self.assertEqual(username_detected, get_user_name()) + @pytest.mark.docker def test_docker_user_setting(self): parser = argparse.ArgumentParser() extension_manager = RockerExtensionManager()