Skip to content
This repository was archived by the owner on Aug 4, 2025. It is now read-only.

WOR-1120 Add smoke tests to landing zone service#356

Merged
sergiygetlin merged 3 commits intomainfrom
WOR-1120
Dec 19, 2023
Merged

WOR-1120 Add smoke tests to landing zone service#356
sergiygetlin merged 3 commits intomainfrom
WOR-1120

Conversation

@sergiygetlin
Copy link
Contributor

@sergiygetlin sergiygetlin commented Dec 13, 2023

Smoke tests for landing zone:
-validates /status endpoint
-validates /version endpoint
-validates landing zone definitions endpoint
-validates endpoint which list all available landing zones to user

@sergiygetlin sergiygetlin changed the title [WIP] WOR-1120 Add smoke tests to landing zone service WOR-1120 Add smoke tests to landing zone service Dec 15, 2023
@sergiygetlin sergiygetlin marked this pull request as ready for review December 16, 2023 04:54
@sergiygetlin sergiygetlin requested review from a team, blakery and marctalbott and removed request for a team and blakery December 16, 2023 04:54
def status_url() -> str:
return SmokeTestCase.build_lz_url("/api/landingzones/definitions/v1/azure")

"""Validates that definitions endpoint return 401 when no token provided"""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The placement of this docstring should be inside the method like so https://peps.python.org/pep-0257/#one-line-docstrings, curious if black will pick this up.

@sonarqubecloud
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@sergiygetlin sergiygetlin merged commit 8a6749d into main Dec 19, 2023
@sergiygetlin sergiygetlin deleted the WOR-1120 branch December 19, 2023 22:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants