Skip to content

Commit

Permalink
fix unit test / ran in docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
arrestle committed Feb 21, 2025
1 parent bd9e081 commit aa5f67c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions awx/main/tests/unit/utils/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def test_extract_ansible_vars():
True,
True,
False,
ValueError('Username must be "git" or "x-access-token" (for github app) for SSH access to github.com.'),
ValueError('Username must be "git" for SSH access to github.com.'),
),
(
'git',
Expand All @@ -256,7 +256,7 @@ def test_extract_ansible_vars():
True,
True,
False,
ValueError('Username must be "git" or "x-access-token" (for github app) for SSH access to bitbucket.org.'),
ValueError('Username must be "git" for SSH access to bitbucket.org.'),
),
(
'git',
Expand All @@ -265,7 +265,7 @@ def test_extract_ansible_vars():
True,
True,
False,
ValueError('Username must be "git" or "x-access-token" (for github app) for SSH access to altssh.bitbucket.org.'),
ValueError('Username must be "git" for SSH access to altssh.bitbucket.org.'),
),
('git', 'git:password@github.com:ansible/awx.git', True, True, True, False, 'git+ssh://git@github.com/ansible/awx.git'),
# Disabling the special handling should not raise an error
Expand Down

0 comments on commit aa5f67c

Please # to comment.