RagLeap
Tests

Tests: ragleap-memory

Test files: 5. Test functions: 51. 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: ragleap-memory-tests (3.10) passed 89 passed, 0 skipped, 0 failed CI job ragleap-memory-tests (3.11) passed 89 passed, 0 skipped, 0 failed CI job ragleap-memory-tests (3.12) passed 89 passed, 0 skipped, 0 failed CI job

test_add_validation.py — 10 tests 10 passed, 0 failed, 0 skipped

No file-level description in the source.

  • test_add_returns_entry_with_safe_defaults passed
    Add returns entry with safe defaults (no description in the source; shown from the name)
  • test_explicit_trust_kind_source_importance_metadata passed
    Explicit trust kind source importance metadata (no description in the source; shown from the name)
  • test_bad_text_refused passed
    Bad text refused (no description in the source; shown from the name)
  • test_text_size_limit_counts_bytes_and_boundary passed
    Text size limit counts bytes and boundary (no description in the source; shown from the name)
  • test_bad_fields_refused passed
    Bad fields refused (no description in the source; shown from the name)
  • test_scope_must_be_a_scope passed
    Scope must be a scope (no description in the source; shown from the name)
  • test_metadata_rules passed
    Metadata rules (no description in the source; shown from the name)
  • test_expires_at_must_be_aware passed
    Expires at must be aware (no description in the source; shown from the name)
  • test_derived_from_rules passed
    Derived from rules (no description in the source; shown from the name)
  • test_derived_from_cannot_point_into_another_tenant passed
    Derived from cannot point into another tenant (no description in the source; shown from the name)
test_durability.py — 8 tests 8 passed, 0 failed, 0 skipped

No file-level description in the source.

  • test_data_survives_reopen passed
    Data survives reopen (no description in the source; shown from the name)
  • test_database_file_is_private passed
    Database file is private (no description in the source; shown from the name)
  • test_newer_schema_is_refused passed
    Newer schema is refused (no description in the source; shown from the name)
  • test_threads_can_add_concurrently passed
    Threads can add concurrently (no description in the source; shown from the name)
  • test_a_failed_write_leaves_nothing_behind passed
    A failed write leaves nothing behind (no description in the source; shown from the name)
  • test_audit_log_records_operations_without_text passed
    Audit log records operations without text (no description in the source; shown from the name)
  • test_a_failing_audit_log_blocks_the_write passed
    A failing audit log blocks the write (no description in the source; shown from the name)
  • test_a_failing_audit_log_blocks_erase_and_forget passed
    A failing audit log blocks erase and forget (no description in the source; shown from the name)
test_isolation.py — 11 tests 11 passed, 0 failed, 0 skipped

No file-level description in the source.

  • test_search_never_crosses_tenants passed
    Search never crosses tenants (no description in the source; shown from the name)
  • test_get_across_tenants_looks_like_missing passed
    Get across tenants looks like missing (no description in the source; shown from the name)
  • test_count_export_are_per_tenant passed
    Count export are per tenant (no description in the source; shown from the name)
  • test_forget_cannot_delete_another_tenants_entry passed
    Forget cannot delete another tenants entry (no description in the source; shown from the name)
  • test_supersede_cannot_touch_another_tenants_entry passed
    Supersede cannot touch another tenants entry (no description in the source; shown from the name)
  • test_erase_and_sweep_stay_inside_the_tenant passed
    Erase and sweep stay inside the tenant (no description in the source; shown from the name)
  • test_narrow_scope_sees_only_its_own_subject passed
    Narrow scope sees only its own subject (no description in the source; shown from the name)
  • test_tenant_wide_scope_sees_every_subject_in_its_tenant passed
    Tenant wide scope sees every subject in its tenant (no description in the source; shown from the name)
  • test_subject_scope_does_not_see_tenant_level_entries passed
    Subject scope does not see tenant level entries (no description in the source; shown from the name)
  • test_agent_and_session_parts_narrow_too passed
    Agent and session parts narrow too (no description in the source; shown from the name)
  • test_search_query_cannot_escape_the_scope passed
    Search query cannot escape the scope (no description in the source; shown from the name)
test_lifecycle.py — 9 tests 9 passed, 0 failed, 0 skipped

No file-level description in the source.

  • test_supersede_links_old_and_new passed
    Supersede links old and new (no description in the source; shown from the name)
  • test_supersede_overrides_and_keeps_the_old_entrys_scope passed
    Supersede overrides and keeps the old entrys scope (no description in the source; shown from the name)
  • test_narrower_scope_cannot_supersede_a_wider_entry passed
    Narrower scope cannot supersede a wider entry (no description in the source; shown from the name)
  • test_cannot_supersede_twice_or_with_bad_input passed
    Cannot supersede twice or with bad input (no description in the source; shown from the name)
  • test_forget_counts_and_removes_from_search passed
    Forget counts and removes from search (no description in the source; shown from the name)
  • test_export_includes_everything_visible passed
    Export includes everything visible (no description in the source; shown from the name)
  • test_sweep_expired_deletes_only_expired_in_scope passed
    Sweep expired deletes only expired in scope (no description in the source; shown from the name)
  • test_erase_removes_text_from_the_file passed
    Erase removes text from the file (no description in the source; shown from the name)
  • test_forget_alone_may_leave_traces_until_compact passed
    Forget alone may leave traces until compact (no description in the source; shown from the name)
test_search.py — 13 tests 13 passed, 0 failed, 0 skipped

No file-level description in the source.

  • test_relevance_order_and_scores passed
    Relevance order and scores (no description in the source; shown from the name)
  • test_any_word_may_match_and_unmatched_returns_nothing passed
    Any word may match and unmatched returns nothing (no description in the source; shown from the name)
  • test_odd_queries_do_not_error passed
    Odd queries do not error (no description in the source; shown from the name)
  • test_query_limits_and_types passed
    Query limits and types (no description in the source; shown from the name)
  • test_bad_k_refused passed
    Bad k refused (no description in the source; shown from the name)
  • test_k_limits_results_and_is_capped passed
    K limits results and is capped (no description in the source; shown from the name)
  • test_store_wide_result_cap_applies_even_when_k_is_larger passed
    Store wide result cap applies even when k is larger (no description in the source; shown from the name)
  • test_kinds_filter passed
    Kinds filter (no description in the source; shown from the name)
  • test_min_trust_filter passed
    Min trust filter (no description in the source; shown from the name)
  • test_search_results_carry_their_trust_label passed
    Search results carry their trust label (no description in the source; shown from the name)
  • test_expired_entries_are_hidden_unless_asked passed
    Expired entries are hidden unless asked (no description in the source; shown from the name)
  • test_superseded_entries_are_hidden_unless_asked passed
    Superseded entries are hidden unless asked (no description in the source; shown from the name)
  • test_non_english_text_is_searchable passed
    Non english text is searchable (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