Skip to content

Commit d50223f

Browse files
varunr89claude
andcommitted
fix(tests): correct GitHub username from varunr to varunr89
- Updated test assertion in test_feedback_github.py - Updated CORS test origin in test_feedback_endpoints.py - Ensures tests match actual GitHub username varunr89 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 53f5c3f commit d50223f

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

logs/test.log.1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{"timestamp": "2025-11-20T06:51:05", "level": "DEBUG", "component": "oews.workflow", "event": "traces_extracted", "data": {"total_traces": 0, "trace_types": []}}
2+
{"timestamp": "2025-11-20T06:51:05", "level": "DEBUG", "component": "oews.workflow", "event": "response_formatter_output", "data": {"answer_length": 11, "charts_count": 0, "data_sources_count": 0, "models_used": {}}}
3+
{"timestamp": "2025-11-20T06:51:05", "level": "DEBUG", "component": "oews.workflow", "event": "extracting_charts", "data": {"message_count": 1, "chart_messages": [{"name": "chart_generator", "has_chart_spec": false}]}}
4+
{"timestamp": "2025-11-20T06:51:05", "level": "DEBUG", "component": "oews.workflow", "event": "traces_extracted", "data": {"total_traces": 1, "trace_types": ["chart_generation"]}}
5+
{"timestamp": "2025-11-20T06:51:05", "level": "DEBUG", "component": "oews.workflow", "event": "response_formatter_output", "data": {"answer_length": 11, "charts_count": 0, "data_sources_count": 1, "models_used": {}}}

tests/test_feedback_endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def test_cors_preflight():
111111
"""Test CORS preflight OPTIONS request."""
112112
response = client.options(
113113
"/feedback/submit",
114-
headers={'Origin': 'https://varunr.github.io'}
114+
headers={'Origin': 'https://varunr89.github.io'}
115115
)
116116

117117
assert response.status_code == 200

tests/test_feedback_github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ async def test_github_client_initialization():
1212
with patch.dict(os.environ, {'GITHUB_TOKEN': 'test-token'}):
1313
client = GitHubClient()
1414
assert client.token == 'test-token'
15-
assert client.owner == 'varunr'
15+
assert client.owner == 'varunr89'
1616
assert client.repo == 'oews-data-explorer'
1717

1818

0 commit comments

Comments
 (0)