Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ilan committed Apr 15, 2024
1 parent a25b73c commit a6a4041
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demisto_sdk/commands/pre_commit/tests/generic_docker_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def test_docker_pass_extra_args(mocker):
assert "--rm=false" in hook["repo"]["hooks"][0]["entry"]


def test_docker_image_flag(mocker):
def test_image_ref_argument(mocker):
"""
Given:
- An object to run pre-commit on
Expand Down Expand Up @@ -297,7 +297,7 @@ def test_docker_image_flag(mocker):
assert hook["repo"]["hooks"][0]["id"] == "test-python3-custom-image"


def test_docker_target_flag(mocker):
def test_docker_image_argument(mocker):
"""
Given:
- An object to run pre-commit on
Expand Down Expand Up @@ -328,4 +328,4 @@ def test_docker_target_flag(mocker):
return_value="devtestimg",
)
DockerHook(**hook).prepare_hook()
assert hook["repo"]["hooks"][0]["entry"] == "test-python3-candidate-image"
assert hook["repo"]["hooks"][0]["id"] == "test-python3-candidate-image"

0 comments on commit a6a4041

Please sign in to comment.