auth
FreeAuthentication and authorization patterns for Rossoctl services
The English summary is being prepared. Showing the original description.
Write E2E and unit tests following Rossoctl testing standards
The English summary is being prepared. Showing the original description.
Run score Not tested
See how to installReview the instructions the agent will receive before you install.
Write tests that follow Rossoctl testing standards.
rossoctl/tests/
├── e2e/
│ ├── common/ # Tests that run on all platforms
│ │ ├── test_agent_*.py
│ │ ├── test_mlflow_*.py
│ │ └── conftest.py
│ ├── conftest.py # Shared fixtures
│ └── test_*.py # Platform-specific tests
└── requirements.txt
"""Test description - what scenario is being validated."""
import pytest
class TestFeatureName:
"""Tests for [feature] functionality."""
def test_specific_behavior(self, fixture):
"""Verify [specific behavior] when [condition]."""
# Arrange
expected = "specific_value"
# Act
result = do_something(fixture)
# Assert - ALWAYS assert specific values
assert result.status_code == 200, f"Expected 200, got {result.status_code}"
assert result.json()["key"] == expected
test_agent_returns_weather_for_valid_cityassert x == 42 not assert xpytest.mark.timeout(300) not sleep()@pytest.mark.skip(reason="MLflow disabled in Kind")Key fixtures available:
@pytest.fixture
def agent_url():
"""Agent URL from env or port-forward."""
@pytest.fixture
def kubeconfig():
"""KUBECONFIG path."""
@pytest.fixture
def rossoctl_config():
"""Platform config from ROSSOCTL_CONFIG_FILE."""
test:review to verify qualitytest:run-kind or test:run-hypershift to executegit:commit to committest:review - Review test quality before committingtest:run-kind - Run on Kind clustertest:run-hypershift - Run on HyperShift clustertdd:ci - Full TDD workflowNo reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Authentication and authorization patterns for Rossoctl services
The English summary is being prepared. Showing the original description.
Create confidential OAuth2 clients in Keycloak for server-to-service authentication
The English summary is being prepared. Showing the original description.
Configure MLflow with mlflow-oidc-auth plugin for Keycloak OIDC authentication
The English summary is being prepared. Showing the original description.
Configure OpenTelemetry Collector with OAuth2 authentication for trace export
The English summary is being prepared. Showing the original description.
CI pipeline monitoring, status checks, and PR validation workflows
The English summary is being prepared. Showing the original description.
Monitor running CI jobs, wait for completion, create tasks for results
The English summary is being prepared. Showing the original description.