Skip to content

Commit

Permalink
demisto-sdk-release 1.24.0 (#31268)
Browse files Browse the repository at this point in the history
* poetry files

* update validate manager imports (#31179)

* update validate manager imports

* revert

* Update Tests/configure_and_test_integration_instances.py

* Edit file types test (#31170)

* edited tests

* s

* s

* edit

---------

Co-authored-by: Content Bot <bot@demisto.com>
Co-authored-by: Yuval Hayun <70104171+YuvHayun@users.noreply.github.com>
Co-authored-by: merit-maita <49760643+merit-maita@users.noreply.github.com>
Co-authored-by: JudithB <132264628+jbabazadeh@users.noreply.github.com>
  • Loading branch information
5 people committed Dec 3, 2023
1 parent b8a61b2 commit e080c43
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Tests/configure_and_test_integration_instances.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from demisto_sdk.commands.test_content.constants import SSH_USER
from demisto_sdk.commands.test_content.mock_server import MITMProxy, run_with_mock, RESULT
from demisto_sdk.commands.test_content.tools import update_server_configuration, is_redhat_instance
from demisto_sdk.commands.validate.validate_manager import ValidateManager
from demisto_sdk.commands.validate.old_validate_manager import OldValidateManager
from packaging.version import Version
from ruamel import yaml

Expand Down Expand Up @@ -1102,7 +1102,7 @@ def get_new_and_modified_integration_files(branch_name):
(tuple): Returns a tuple of two lists, the file paths of the new integrations and modified integrations.
"""
# get changed yaml files (filter only added and modified files)
file_validator = ValidateManager(skip_dependencies=True)
file_validator = OldValidateManager(skip_dependencies=True)
file_validator.branch_name = branch_name
modified_files, added_files, _, _, _ = file_validator.get_changed_files_from_git()

Expand Down
2 changes: 1 addition & 1 deletion Tests/scripts/infrastructure_tests/test_collect_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ def test_number_of_file_types():
- Removed type: Decrease the number here.
"""
assert len(FileType) == 77
assert len(FileType) == 80


@pytest.mark.parametrize(
Expand Down
20 changes: 16 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ python = "^3.8,<3.11"
defusedxml = "^0.7.1"

[tool.poetry.group.dev.dependencies]
demisto-sdk = "1.23.0"
demisto-sdk = "1.24.0"
requests = "^2.22.0"
pre-commit = "^2.20.0"
google-cloud-compute = "^1.8.0"
Expand Down

0 comments on commit e080c43

Please sign in to comment.