Skip to content

Commit

Permalink
Mark test_docker_user_setting as requiring docker
Browse files Browse the repository at this point in the history
This test calls extend_cli_parser, which will fail if docker is not
available.
  • Loading branch information
cottsay authored and tfoote committed Dec 6, 2024
1 parent b150019 commit 89af699
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 89af699

Please sign in to comment.