Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Dec 19, 2023
Merged

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
smoke_tests/pyproject.toml Show resolved Hide resolved
smoke_tests/smoke_tests.py Outdated Show resolved Hide resolved
smoke_tests/README.md Outdated Show resolved Hide resolved
smoke_tests/smoke_tests.py Outdated Show resolved Hide resolved
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.

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
6 checks passed
@sergiygetlin sergiygetlin deleted the WOR-1120 branch December 19, 2023 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants