# loki.tools.tests.test_tools module

Unit tests for utility functions and classes in loki.tools.

fixture_here()

test_is_subset_ordered(a, b, ref)

  Test `is_subset` with ordered data types.

test_is_subset_ordered_subsequent(a, b, ref)

  Test `is_subset` with ordered data types.

test_is_subset_not_ordered(a, b, ref)

  Test `is_subset` with ordered data types.

test_is_subset_raises(a, b)

test_joinable_string_list(items, sep, width, cont, ref)

  Test JoinableStringList for some common scenarios.

test_joinable_string_list_long()

  Test JoinableStringList with some long edge cases.

test_truncate_string(string, length, continuation, ref)

  Test string truncation for different string lengths.

test_binary_insertion_sort()

  Test binary insertion sort for some random cases.

test_optional()

test_yaml_include(here)

test_execute(here, capsys)

test_timeout()

test_dict_override()

test_loki_tempdir(here)