Coverage report:
100%
hide covered
Files
Functions
Classes
coverage.py v7.10.4
, created at 2025-08-21 23:45 +0000
File
function
statements
missing
excluded
coverage
tests/__init__.py
(no function)
0
0
0
100%
tests/_fixtures.py
(no function)
3
0
0
100%
tests/conftest.py
faker_obj
1
0
0
100%
tests/conftest.py
patch_file_provider_for_temp
2
0
0
100%
tests/conftest.py
app_client
6
0
0
100%
tests/conftest.py
(no function)
14
0
0
100%
tests/test_dict_views.py
TestFileAndDummyBasedDicts.patch_various_providers
2
0
0
100%
tests/test_dict_views.py
TestFileAndDummyBasedDicts.test_add_to_dict
7
0
0
100%
tests/test_dict_views.py
TestFileAndDummyBasedDicts.test_remove_from_user_dict
11
0
0
100%
tests/test_dict_views.py
TestFileAndDummyBasedDicts.test_dummy_provider_init
3
0
0
100%
tests/test_dict_views.py
TestVarious.test_disabled_dictionary_views
6
0
0
100%
tests/test_dict_views.py
TestVarious.test_empty_auth_key
2
0
0
100%
tests/test_dict_views.py
TestVarious.test_wrong_api_key
2
0
0
100%
tests/test_dict_views.py
(no function)
20
0
0
100%
tests/test_misc.py
test_main_py
7
0
0
100%
tests/test_misc.py
test_main_py.FakeGranian.__init__
1
0
0
100%
tests/test_misc.py
test_main_py.FakeGranian.serve
1
0
0
100%
tests/test_misc.py
test_incorrect_settings
7
0
0
100%
tests/test_misc.py
test_sentry_integration
7
0
0
100%
tests/test_misc.py
(no function)
11
0
2
100%
tests/test_spell.py
test_correct_spell
11
0
0
100%
tests/test_spell.py
test_urls_ignored
3
0
0
100%
tests/test_spell.py
test_default_excluded_words
6
0
0
100%
tests/test_spell.py
(no function)
13
0
0
100%
tests/test_spell_views.py
test_no_corrections
2
0
0
100%
tests/test_spell_views.py
test_with_corrections_simple
4
0
0
100%
tests/test_spell_views.py
test_with_exception_word_in_dictionary
9
0
0
100%
tests/test_spell_views.py
test_with_exception_word_in_dictionary.run_request
1
0
0
100%
tests/test_spell_views.py
test_with_exception_word_in_dictionary.parse_words
1
0
0
100%
tests/test_spell_views.py
(no function)
15
0
3
100%
tests/test_various_views.py
test_healthcheck_api_good
3
0
0
100%
tests/test_various_views.py
(no function)
4
0
2
100%
whole_app/__init__.py
(no function)
0
0
0
100%
whole_app/__main__.py
launch_server
1
0
0
100%
whole_app/__main__.py
(no function)
8
0
0
100%
whole_app/auth.py
auth_via_api_key
3
0
0
100%
whole_app/auth.py
(no function)
5
0
0
100%
whole_app/dictionaries/__init__.py
init_storage
4
0
0
100%
whole_app/dictionaries/__init__.py
prepare_storage_engine
3
0
0
100%
whole_app/dictionaries/__init__.py
(no function)
9
0
0
100%
whole_app/dictionaries/dummy.py
DummyProvider.prepare
1
0
0
100%
whole_app/dictionaries/dummy.py
DummyProvider.save_record
0
0
0
100%
whole_app/dictionaries/dummy.py
DummyProvider.remove_record
0
0
0
100%
whole_app/dictionaries/dummy.py
DummyProvider.fetch_records
1
0
0
100%
whole_app/dictionaries/dummy.py
(no function)
5
0
0
100%
whole_app/dictionaries/file.py
init_storage
1
0
0
100%
whole_app/dictionaries/file.py
FileProvider.prepare
2
0
0
100%
whole_app/dictionaries/file.py
FileProvider._store_lines
1
0
0
100%
whole_app/dictionaries/file.py
FileProvider.save_record
6
0
0
100%
whole_app/dictionaries/file.py
FileProvider.remove_record
4
0
0
100%
whole_app/dictionaries/file.py
FileProvider.fetch_records
3
0
0
100%
whole_app/dictionaries/file.py
(no function)
11
0
0
100%
whole_app/dictionaries/protocol.py
UserDictProtocol.prepare
0
0
0
100%
whole_app/dictionaries/protocol.py
UserDictProtocol.save_record
0
0
0
100%
whole_app/dictionaries/protocol.py
UserDictProtocol.remove_record
0
0
0
100%
whole_app/dictionaries/protocol.py
UserDictProtocol.fetch_records
0
0
0
100%
whole_app/dictionaries/protocol.py
(no function)
6
0
0
100%
whole_app/misc_helpers.py
init_logger
4
0
0
100%
whole_app/misc_helpers.py
(no function)
5
0
0
100%
whole_app/models.py
(no function)
26
0
0
100%
whole_app/settings.py
_warn_about_poor_lru_cache_size
4
0
0
100%
whole_app/settings.py
_warn_about_empty_api_key
3
0
0
100%
whole_app/settings.py
_parse_version_from_local_file
6
0
0
100%
whole_app/settings.py
SettingsOfMicroservice.exclusion_words_set
1
0
0
100%
whole_app/settings.py
SettingsOfMicroservice._assemble_exclusion_words_set
2
0
0
100%
whole_app/settings.py
(no function)
50
0
0
100%
whole_app/spell.py
SpellCheckService.prepare
8
0
0
100%
whole_app/spell.py
SpellCheckService.get_memorized_suggestions
5
0
0
100%
whole_app/spell.py
SpellCheckService.run_check
7
0
0
100%
whole_app/spell.py
(no function)
19
0
0
100%
whole_app/views.py
startup
3
0
0
100%
whole_app/views.py
spell_check_main_endpoint
4
0
0
100%
whole_app/views.py
check_health_of_service
1
0
0
100%
whole_app/views.py
save_word
2
0
0
100%
whole_app/views.py
delete_word
2
0
0
100%
whole_app/views.py
(no function)
29
0
0
100%
Total
440
0
7
100%
No items found using the specified filter.