Kuadrant / Kuadrant/testsuite

Add custom unassigned return code test when issue fixed

Open
#647 0 comments 0 reactions 0 assignees View on GitHub
test-case
Dominant language
Python
Stars
7
Forks
29
Avg merge
1d 9h
Merged PRs (30d)
7

Description

If after https://github.com/Kuadrant/kuadrant-operator/issues/1022 / https://issues.redhat.com/browse/CONNLINK-287 is solved, and it will be possible to return custom [unassigned](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) return codes with authpolicy, create test returning this custom return code

Tests for valid return codes located at `testsuite/tests/singlecluster/authorino/response/test_deny_with.py`

Contributor guide

Open the contributing guide

Research direction

Wait for issue 1022 and CONNLINK-287 to be resolved, then read testsuite/tests/singlecluster/authorino/response/test_deny_with.py, which contains tests for valid return codes. Add a test for a custom unassigned return code with authpolicy and run the relevant response tests to confirm it passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.