Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: set is_enabled to true as create_project expects boolean value
Browse files Browse the repository at this point in the history
anish-mudaraddi committed Sep 12, 2024
1 parent 78f919f commit d35ad70
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/workflows/create_external_project.py
Original file line number Diff line number Diff line change
@@ -74,6 +74,7 @@ def create_external_project(
description=project_description,
immutable=project_immutable,
parent_id=parent_id,
is_enabled=True,
),
)

1 change: 1 addition & 0 deletions lib/workflows/create_internal_project.py
Original file line number Diff line number Diff line change
@@ -56,6 +56,7 @@ def create_internal_project(
description=project_description,
immutable=project_immutable,
parent_id=parent_id,
is_enabled=True,
),
)

1 change: 1 addition & 0 deletions tests/lib/workflows/test_create_external_project.py
Original file line number Diff line number Diff line change
@@ -84,6 +84,7 @@ def test_create_external_project(
description=project_description,
immutable=project_immutable,
parent_id=parent_id,
is_enabled=True,
),
)

1 change: 1 addition & 0 deletions tests/lib/workflows/test_create_internal_project.py
Original file line number Diff line number Diff line change
@@ -61,6 +61,7 @@ def test_create_internal_project(
description=project_description,
immutable=project_immutable,
parent_id=parent_id,
is_enabled=True,
),
)
mock_refresh_security_groups.assert_called_once_with(mock_conn, "project-id")

0 comments on commit d35ad70

Please sign in to comment.