compshs.utils.tests package

Submodules

compshs.utils.tests.test_check module

tests for check.py

class compshs.utils.tests.test_check.TestChecks(methodName='runTest')[source]

Bases: TestCase

test_check_exist_column_name()[source]
test_check_exist_table_name()[source]
test_check_sql_identifier()[source]
test_check_sql_identifiers()[source]
test_load_lang_downloads_and_loads_fail(mock_blank, mock_download, mock_load)[source]
test_load_lang_fails_then_succeeds(mock_download, mock_load)[source]
test_load_lang_success(mock_load)[source]

compshs.utils.tests.test_metrics module

tests for metrics.py

class compshs.utils.tests.test_metrics.TestMetrics(methodName='runTest')[source]

Bases: TestCase

test_average_pairwise_similarity()[source]
test_coherence()[source]
test_diversity()[source]
test_topic_coherence()[source]

compshs.utils.tests.test_rank module

tests for rank.py

class compshs.utils.tests.test_rank.TestRank(methodName='runTest')[source]

Bases: TestCase

test_top_k()[source]

Module contents

tests for utils