RagLeap
Tests

Tests: ragleap-trace

Test files: 2. Test functions: 47. Described by their authors (docstring or @DisplayName): 0. Where there is no description, the line shows the test name in words and says so.

Latest result: no job named ragleap-trace-tests in the latest CI run

test_rag.py — 20 tests

No file-level description in the source.

  • test_record_emits_finished_span_with_given_duration
    Record emits finished span with given duration (no description in the source; shown from the name)
  • test_record_rejects_bad_durations
    Record rejects bad durations (no description in the source; shown from the name)
  • test_record_becomes_child_of_current_span
    Record becomes child of current span (no description in the source; shown from the name)
  • test_ask_flow_records_query_and_answer_with_counts_only
    Ask flow records query and answer with counts only (no description in the source; shown from the name)
  • test_stream_flow_uses_answer_length
    Stream flow uses answer length (no description in the source; shown from the name)
  • test_ingest_records_counts_never_filename
    Ingest records counts never filename (no description in the source; shown from the name)
  • test_no_query_or_answer_text_reaches_any_span
    No query or answer text reaches any span (no description in the source; shown from the name)
  • test_unexpected_extra_keys_in_events_are_ignored
    Unexpected extra keys in events are ignored (no description in the source; shown from the name)
  • test_query_rewrite_only_known_strategies_else_other
    Query rewrite only known strategies else other (no description in the source; shown from the name)
  • test_bool_is_not_accepted_as_a_count
    Bool is not accepted as a count (no description in the source; shown from the name)
  • test_usage_none_and_garbage_values
    Usage none and garbage values (no description in the source; shown from the name)
  • test_garbage_events_never_raise_and_are_counted
    Garbage events never raise and are counted (no description in the source; shown from the name)
  • test_garbage_field_values_do_not_raise
    Garbage field values do not raise (no description in the source; shown from the name)
  • test_hooks_are_lists_of_callables_under_the_ragleap_parameter_names
    Hooks are lists of callables under the ragleap parameter names (no description in the source; shown from the name)
  • test_answer_without_query_is_unpaired_and_has_no_duration
    Answer without query is unpaired and has no duration (no description in the source; shown from the name)
  • test_pending_is_cleared_after_answer
    Pending is cleared after answer (no description in the source; shown from the name)
  • test_stopped_stream_is_replaced_by_next_query
    Stopped stream is replaced by next query (no description in the source; shown from the name)
  • test_threads_pair_independently
    Threads pair independently (no description in the source; shown from the name)
  • test_asyncio_tasks_pair_independently
    Asyncio tasks pair independently (no description in the source; shown from the name)
  • test_events_nest_under_a_user_wrapping_span
    Events nest under a user wrapping span (no description in the source; shown from the name)
test_trace.py — 27 tests

No file-level description in the source.

  • test_zero_dependencies_and_version
    Zero dependencies and version (no description in the source; shown from the name)
  • test_span_recorded_with_timing_and_attributes
    Span recorded with timing and attributes (no description in the source; shown from the name)
  • test_parent_child_share_trace_id
    Parent child share trace id (no description in the source; shown from the name)
  • test_siblings_do_not_nest
    Siblings do not nest (no description in the source; shown from the name)
  • test_span_recorded_on_exception_and_exception_propagates
    Span recorded on exception and exception propagates (no description in the source; shown from the name)
  • test_exception_message_never_recorded
    Exception message never recorded (no description in the source; shown from the name)
  • test_string_values_truncated
    String values truncated (no description in the source; shown from the name)
  • test_name_truncated
    Name truncated (no description in the source; shown from the name)
  • test_key_truncated
    Key truncated (no description in the source; shown from the name)
  • test_attribute_count_limited_and_dropped_counted
    Attribute count limited and dropped counted (no description in the source; shown from the name)
  • test_existing_key_can_be_updated_at_the_limit
    Existing key can be updated at the limit (no description in the source; shown from the name)
  • test_only_simple_types_kept_objects_never_repr
    Only simple types kept objects never repr (no description in the source; shown from the name)
  • test_non_finite_floats_dropped
    Non finite floats dropped (no description in the source; shown from the name)
  • test_non_string_or_empty_keys_dropped
    Non string or empty keys dropped (no description in the source; shown from the name)
  • test_content_keys_never_recorded
    Content keys never recorded (no description in the source; shown from the name)
  • test_content_keys_blocked_when_passed_as_span_kwargs
    Content keys blocked when passed as span kwargs (no description in the source; shown from the name)
  • test_exporter_error_never_reaches_caller_and_is_counted
    Exporter error never reaches caller and is counted (no description in the source; shown from the name)
  • test_exporter_error_does_not_mask_caller_exception
    Exporter error does not mask caller exception (no description in the source; shown from the name)
  • test_traced_sync_and_name
    Traced sync and name (no description in the source; shown from the name)
  • test_traced_custom_name
    Traced custom name (no description in the source; shown from the name)
  • test_traced_async_and_async_with_nesting
    Traced async and async with nesting (no description in the source; shown from the name)
  • test_concurrent_async_tasks_keep_separate_parents
    Concurrent async tasks keep separate parents (no description in the source; shown from the name)
  • test_jsonl_writes_lines_with_mode_0600
    Jsonl writes lines with mode 0600 (no description in the source; shown from the name)
  • test_jsonl_refuses_existing_world_readable_file
    Jsonl refuses existing world readable file (no description in the source; shown from the name)
  • test_jsonl_export_after_close_is_counted_not_raised
    Jsonl export after close is counted not raised (no description in the source; shown from the name)
  • test_jsonl_appends_across_instances
    Jsonl appends across instances (no description in the source; shown from the name)
  • test_async_exception_recorded_and_propagates
    Async exception recorded and propagates (no description in the source; shown from the name)

Compiled by script from the public repository, its CI logs and the GitHub API. To correct something, open an issue.

All tests