Skip to content

Add JSON-RPC test class for GitOps.allow#235

Merged
atodorov merged 1 commit into
masterfrom
jsonrpc_gitops_allow_test
Jul 16, 2026
Merged

Add JSON-RPC test class for GitOps.allow#235
atodorov merged 1 commit into
masterfrom
jsonrpc_gitops_allow_test

Conversation

@atodorov

Copy link
Copy Markdown
Member

Add TestGitOpsAllowViaJsonRpc test class that exercises the GitOps.allow method through the /json-rpc/ HTTP endpoint, going through the full request/response layer rather than calling the function directly.

Replicates the test_when_active_purchase_with_non_zero_price_matching_repo_then_result_is_true scenario for setup/expected behavior. See tcms_tenants/tests/test_mt_behavior.py for the pattern used (JSON-RPC via self.client.post).

Also updates the copyright year for tcms_github_marketplace/tests/test_api.py from 2024 to 2024-2026.

@atodorov
atodorov force-pushed the jsonrpc_gitops_allow_test branch 5 times, most recently from 8ed6d7a to 963c031 Compare July 16, 2026 17:54
@atodorov
atodorov force-pushed the jsonrpc_gitops_allow_test branch from fea85c7 to 0c9af4f Compare July 16, 2026 18:57
@atodorov
atodorov merged commit c5b1902 into master Jul 16, 2026
11 checks passed
@atodorov
atodorov deleted the jsonrpc_gitops_allow_test branch July 16, 2026 19:07
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.

1 participant