Skip to content

Conversation

@colin-sentry
Copy link
Contributor

Fixes #4155, #4225

@codecov
Copy link

codecov bot commented Apr 1, 2025

❌ 22 Tests Failed:

Tests completed Failed Passed Skipped
23793 22 23771 5872
View the top 3 failed test(s) by shortest run time
tests.test_logs test_logger_integration_warning
Stack Traces | 0.065s run time
tests/test_logs.py:250: in test_logger_integration_warning
    assert log_entry["severityText"] == "warning"
E   AssertionError: assert 'warn' == 'warning'
E     - warning
E     + warn
tests.test_logs test_logs_message_params
Stack Traces | 0.067s run time
tests/test_logs.py:164: in test_logs_message_params
    assert otel_attributes_to_dict(envelopes[0].items[0].payload.json["attributes"])[
E   AssertionError: assert {'stringValue': '1'} == {'intValue': '1'}
E     Left contains 1 more item:
E     {'stringValue': '1'}
E     Right contains 1 more item:
E     {'intValue': '1'}
E     Full diff:
E     - {'intValue': '1'}
E     ?     ^
E     + {'stringValue': '1'}
E     ?   +++  ^
tests.test_logs test_logger_integration_warning
Stack Traces | 0.074s run time
tests/test_logs.py:250: in test_logger_integration_warning
    assert log_entry["severityText"] == "warning"
E   AssertionError: assert 'warn' == 'warning'
E     
E     - warning
E     + warn

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

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.

API should be .warning() instead of .warn()

2 participants