Skip to content

Commit

Permalink
Merge ccd9bbf into 26c32c4
Browse files Browse the repository at this point in the history
  • Loading branch information
anas-yousef committed Apr 2, 2024
2 parents 26c32c4 + ccd9bbf commit 46b46dc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions demisto_sdk/commands/common/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,8 @@ class FileType(str, Enum):
FileType.GENERIC_FIELD,
]

DEFAULT_IMAGE = "demisto_sdk/tests/test_files/default_image.png"

DEFAULT_IMAGE_PREFIX = "data:image/png;base64,"
DEFAULT_IMAGE_BASE64 = (
"iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAACYVBMVEVHcEwAT4UAT4UAT4YAf/8A//8AT4UAf78AT4U"
Expand Down
2 changes: 1 addition & 1 deletion demisto_sdk/commands/validate/tests/IM_validators_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import pytest
from pytest_mock import MockerFixture

from demisto_sdk.commands.common.constants import DEFAULT_IMAGE
from demisto_sdk.commands.content_graph.parsers.related_files import (
ImageRelatedFile,
)
Expand All @@ -20,7 +21,6 @@
from demisto_sdk.commands.validate.validators.IM_validators.IM109_author_image_exists_validation import (
AuthorImageExistsValidator,
)
from demisto_sdk.tests.constants_test import DEFAULT_IMAGE


def test_ImageExistsValidator_is_valid_image_path():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

from demisto_sdk.commands.common.constants import (
DEFAULT_DBOT_IMAGE_BASE64,
DEFAULT_IMAGE,
DEFAULT_IMAGE_BASE64,
)
from demisto_sdk.commands.content_graph.objects.integration import Integration
Expand All @@ -12,7 +13,6 @@
BaseValidator,
ValidationResult,
)
from demisto_sdk.tests.constants_test import DEFAULT_IMAGE

ContentTypes = Integration

Expand Down

0 comments on commit 46b46dc

Please sign in to comment.