Coverage report:
99%
hide covered
Files
Functions
Classes
coverage.py v7.12.0
, created at 2026-03-21 11:59 +0000
File
function
statements
missing
excluded
coverage
src / sparqlite / __init__.py
(no function)
4
0
0
100%
src / sparqlite / client.py
SPARQLClient.__init__
5
0
0
100%
src / sparqlite / client.py
SPARQLClient.__enter__
1
0
0
100%
src / sparqlite / client.py
SPARQLClient.__exit__
1
0
0
100%
src / sparqlite / client.py
SPARQLClient.__del__
3
0
0
100%
src / sparqlite / client.py
SPARQLClient.close
3
0
0
100%
src / sparqlite / client.py
SPARQLClient._request
45
0
0
100%
src / sparqlite / client.py
SPARQLClient.query
2
0
0
100%
src / sparqlite / client.py
SPARQLClient.select
1
0
0
100%
src / sparqlite / client.py
SPARQLClient.ask
2
0
0
100%
src / sparqlite / client.py
SPARQLClient.construct
1
0
0
100%
src / sparqlite / client.py
SPARQLClient.describe
1
0
0
100%
src / sparqlite / client.py
SPARQLClient.update
1
0
0
100%
src / sparqlite / client.py
(no function)
22
0
0
100%
src / sparqlite / exceptions.py
EndpointError.__init__
2
0
0
100%
src / sparqlite / exceptions.py
(no function)
5
0
0
100%
tests / __init__.py
(no function)
0
0
0
100%
tests / conftest.py
_wait_for_endpoint
9
3
0
67%
tests / conftest.py
virtuoso_endpoint
6
0
0
100%
tests / conftest.py
qlever_endpoint
10
0
0
100%
tests / conftest.py
endpoint
1
0
0
100%
tests / conftest.py
client
2
0
0
100%
tests / conftest.py
test_data
3
0
0
100%
tests / conftest.py
(no function)
23
0
0
100%
tests / test_client.py
TestEndpointQueryParameters.test_get_preserves_endpoint_query_params
14
0
0
100%
tests / test_client.py
TestEndpointQueryParameters.test_get_preserves_endpoint_query_params.track_setopt
1
0
0
100%
tests / test_client.py
TestEndpointQueryParameters.test_post_preserves_endpoint_query_params
16
0
0
100%
tests / test_client.py
TestEndpointQueryParameters.test_post_preserves_endpoint_query_params.track_setopt
1
0
0
100%
tests / test_client.py
TestEndpointQueryParameters.test_endpoint_without_query_params_unchanged
13
0
0
100%
tests / test_client.py
TestEndpointQueryParameters.test_endpoint_without_query_params_unchanged.track_setopt
1
0
0
100%
tests / test_client.py
(no function)
7
0
0
100%
tests / test_error_handling.py
TestHTTPErrorHandling.test_server_error_500_triggers_retry
14
0
0
100%
tests / test_error_handling.py
TestHTTPErrorHandling.test_server_error_500_triggers_retry.mock_perform
1
0
0
100%
tests / test_error_handling.py
TestHTTPErrorHandling.test_http_403_forbidden
13
0
0
100%
tests / test_error_handling.py
TestHTTPErrorHandling.test_http_403_forbidden.mock_setopt
2
0
0
100%
tests / test_error_handling.py
TestPycurlErrorHandling.test_timeout_error
9
0
0
100%
tests / test_error_handling.py
TestPycurlErrorHandling.test_resolve_host_error
9
0
0
100%
tests / test_error_handling.py
TestPycurlErrorHandling.test_generic_pycurl_error
9
0
0
100%
tests / test_error_handling.py
TestTimeoutConfiguration.test_timeout_parameter_stored
6
0
0
100%
tests / test_error_handling.py
TestTimeoutConfiguration.test_timeout_default_is_none
6
0
0
100%
tests / test_error_handling.py
TestTimeoutConfiguration.test_timeout_ms_set_when_timeout_provided
12
0
0
100%
tests / test_error_handling.py
TestTimeoutConfiguration.test_timeout_ms_set_when_timeout_provided.track_setopt
1
0
0
100%
tests / test_error_handling.py
TestTimeoutConfiguration.test_timeout_ms_not_set_when_timeout_none
12
0
0
100%
tests / test_error_handling.py
TestTimeoutConfiguration.test_timeout_ms_not_set_when_timeout_none.track_setopt
1
0
0
100%
tests / test_error_handling.py
TestHTTPMethod.test_post_method_uses_postfields
12
0
0
100%
tests / test_error_handling.py
TestHTTPMethod.test_post_method_uses_postfields.track_setopt
1
0
0
100%
tests / test_error_handling.py
TestHTTPMethod.test_request_on_closed_client_raises
6
0
0
100%
tests / test_error_handling.py
(no function)
19
0
0
100%
tests / test_integration.py
parse_ntriples
9
0
0
100%
tests / test_integration.py
TestSelectQuery.test_select_articles_with_titles
4
0
0
100%
tests / test_integration.py
TestSelectQuery.test_select_articles_with_dois
3
0
0
100%
tests / test_integration.py
TestSelectQuery.test_select_authors_and_articles
3
0
0
100%
tests / test_integration.py
TestSelectQuery.test_select_alias
4
0
0
100%
tests / test_integration.py
TestSelectQuery.test_empty_result
2
0
0
100%
tests / test_integration.py
TestAskQuery.test_ask_doi_exists
3
0
0
100%
tests / test_integration.py
TestAskQuery.test_ask_doi_not_exists
3
0
0
100%
tests / test_integration.py
TestAskQuery.test_ask_author_exists
2
0
0
100%
tests / test_integration.py
TestAskQuery.test_ask_book_exists
3
0
0
100%
tests / test_integration.py
TestConstructQuery.test_construct_author_article_relationships
6
0
0
100%
tests / test_integration.py
TestConstructQuery.test_construct_article_metadata
6
0
0
100%
tests / test_integration.py
TestConstructQuery.test_construct_book
6
0
0
100%
tests / test_integration.py
TestConstructQuery.test_construct_empty
4
0
0
100%
tests / test_integration.py
TestDescribeQuery.test_describe_bibliographic_resource
6
0
0
100%
tests / test_integration.py
TestUpdateQuery.test_update_insert_new_article
5
0
0
100%
tests / test_integration.py
TestUpdateQuery.test_update_delete_article
5
0
0
100%
tests / test_integration.py
TestClientLifecycle.test_context_manager
3
0
0
100%
tests / test_integration.py
TestClientLifecycle.test_close_idempotent
4
0
0
100%
tests / test_integration.py
TestClientLifecycle.test_connection_reuse
5
0
0
100%
tests / test_integration.py
TestClientLifecycle.test_resource_warning
7
0
0
100%
tests / test_integration.py
TestErrorHandling.test_query_error_syntax
2
0
0
100%
tests / test_integration.py
TestErrorHandling.test_endpoint_error_invalid_url
4
0
0
100%
tests / test_integration.py
TestRetryLogic.test_max_retries_reached
4
0
0
100%
tests / test_integration.py
(no function)
39
0
0
100%
Total
481
3
0
99%
No items found using the specified filter.