Created
January 17, 2021 19:23
-
-
Save Inveracity/a466ea4b0c16aee9132626e3659e716f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=================================================== test session starts ==================================================== | |
platform linux -- Python 3.9.1, pytest-5.4.1, py-1.10.0, pluggy-0.13.1 -- /vagrant/_own_projects/rethinkdb-python/.venv/bin/python | |
cachedir: .pytest_cache | |
rootdir: /vagrant/_own_projects/rethinkdb-python, inifile: pytest.ini | |
plugins: cov-2.8.1, tornasync-0.6.0.post2, trio-0.5.2 | |
collected 136 items | |
tests/test_date_and_time.py::TestNow::test_get_now PASSED [ 0%] | |
tests/test_handshake.py::TestLocalThreadCache::test_initialization PASSED [ 1%] | |
tests/test_handshake.py::TestLocalThreadCache::test_add_to_cache PASSED [ 2%] | |
tests/test_handshake.py::TestLocalThreadCache::test_get_from_cache PASSED [ 2%] | |
tests/test_handshake.py::TestHandshake::test_initialization PASSED [ 3%] | |
tests/test_handshake.py::TestHandshake::test_get_builtin_compare_digest PASSED [ 4%] | |
tests/test_handshake.py::TestHandshake::test_get_own_compare_digest PASSED [ 5%] | |
tests/test_handshake.py::TestHandshake::test_get_builtin_get_pbkdf2_hmac PASSED [ 5%] | |
tests/test_handshake.py::TestHandshake::test_get_own_get_pbkdf2_hmac PASSED [ 6%] | |
tests/test_handshake.py::TestHandshake::test_decode_json_response PASSED [ 7%] | |
tests/test_handshake.py::TestHandshake::test_decode_json_response_utf8_encoded PASSED [ 8%] | |
tests/test_handshake.py::TestHandshake::test_decode_json_response_auth_error PASSED [ 8%] | |
tests/test_handshake.py::TestHandshake::test_decode_json_response_driver_error PASSED [ 9%] | |
tests/test_handshake.py::TestHandshake::test_next_state PASSED [ 10%] | |
tests/test_handshake.py::TestHandshake::test_reset PASSED [ 11%] | |
tests/test_handshake.py::TestHandshake::test_init_connection PASSED [ 11%] | |
tests/test_handshake.py::TestHandshake::test_init_connection_unexpected_response PASSED [ 12%] | |
tests/test_handshake.py::TestHandshake::test_read_response PASSED [ 13%] | |
tests/test_handshake.py::TestHandshake::test_read_response_error_received PASSED [ 13%] | |
tests/test_handshake.py::TestHandshake::test_read_response_protocol_mismatch PASSED [ 14%] | |
tests/test_handshake.py::TestHandshake::test_prepare_auth_request PASSED [ 15%] | |
tests/test_handshake.py::TestHandshake::test_prepare_auth_request_invalid_nonce PASSED [ 16%] | |
tests/test_handshake.py::TestHandshake::test_read_auth_response PASSED [ 16%] | |
tests/test_handshake.py::TestHandshake::test_read_auth_response_invalid_server_signature PASSED [ 17%] | |
tests/test_helpers.py::TestDecodeUTF8Helper::test_python2_decode_string PASSED [ 18%] | |
tests/test_helpers.py::TestDecodeUTF8Helper::test_python3_decode_string PASSED [ 19%] | |
tests/test_helpers.py::TestChainToBytesHelper::test_string_chaining PASSED [ 19%] | |
tests/test_helpers.py::TestChainToBytesHelper::test_byte_chaining PASSED [ 20%] | |
tests/test_helpers.py::TestChainToBytesHelper::test_mixed_chaining PASSED [ 21%] | |
tests/test_logger.py::TestDriverLogger::test_converter PASSED [ 22%] | |
tests/test_logger.py::TestDriverLogger::test_log_write_to_stdout PASSED [ 22%] | |
tests/test_logger.py::TestDriverLogger::test_log_write_to_stderr PASSED [ 23%] | |
tests/test_logger.py::TestDriverLogger::test_log_debug PASSED [ 24%] | |
tests/test_logger.py::TestDriverLogger::test_log_info PASSED [ 25%] | |
tests/test_logger.py::TestDriverLogger::test_log_warning PASSED [ 25%] | |
tests/test_logger.py::TestDriverLogger::test_log_error PASSED [ 26%] | |
tests/test_logger.py::TestDriverLogger::test_log_exception PASSED [ 27%] | |
tests/test_logger.py::TestDriverLogger::test_log_exception_and_raise PASSED [ 27%] | |
tests/test_net.py::TestMakeConnection::test_make_connection PASSED [ 28%] | |
tests/test_net.py::TestMakeConnection::test_make_connection_db_url PASSED [ 29%] | |
tests/test_net.py::TestMakeConnection::test_make_connection_no_host PASSED [ 30%] | |
tests/test_net.py::TestMakeConnection::test_make_connection_no_port PASSED [ 30%] | |
tests/test_net.py::TestMakeConnection::test_make_connection_no_user PASSED [ 31%] | |
tests/test_net.py::TestMakeConnection::test_make_connection_with_ssl PASSED [ 32%] | |
tests/test_net.py::TestMakeConnection::test_make_connection_different_handshake_version PASSED [ 33%] | |
tests/test_utils_common.py::test_option_parser_int_pos PASSED [ 33%] | |
tests/test_utils_common.py::test_option_parser_int_pos_equals PASSED [ 34%] | |
tests/test_utils_common.py::test_option_parser_int_pos_default PASSED [ 35%] | |
tests/test_utils_common.py::test_option_parser_int_pos_fail PASSED [ 36%] | |
tests/test_utils_common.py::test_option_parser_int_pos_zero PASSED [ 36%] | |
tests/test_utils_common.py::test_option_parser_db_table PASSED [ 37%] | |
tests/test_utils_common.py::test_option_parser_db_table_append PASSED [ 38%] | |
tests/test_utils_common.py::test_option_parser_db_table_only_db PASSED [ 38%] | |
tests/test_utils_common.py::test_option_parser_db_table_fail PASSED [ 39%] | |
tests/integration/test_asyncio.py::TestAsyncio::test_flow_coroutine_paradigm PASSED [ 40%] | |
tests/integration/test_connect.py::TestConnect::test_connect PASSED [ 41%] | |
tests/integration/test_connect.py::TestConnect::test_connect_with_username PASSED [ 41%] | |
tests/integration/test_connect.py::TestConnect::test_connect_to_db PASSED [ 42%] | |
tests/integration/test_cursor.py::TestCursor::test_get_next_document PASSED [ 43%] | |
tests/integration/test_cursor.py::TestCursor::test_cursor_empty_no_document PASSED [ 44%] | |
tests/integration/test_cursor.py::TestCursor::test_cursor_empty_iteration PASSED [ 44%] | |
tests/integration/test_cursor.py::TestCursor::test_stop_iteration PASSED [ 45%] | |
tests/integration/test_cursor.py::TestCursor::test_iteration_after_timeout PASSED [ 46%] | |
tests/integration/test_cursor.py::TestCursor::test_for_loop PASSED [ 47%] | |
tests/integration/test_cursor.py::TestCursor::test_next PASSED [ 47%] | |
tests/integration/test_cursor.py::TestCursor::test_iter PASSED [ 48%] | |
tests/integration/test_cursor.py::TestCursor::test_close_cursor PASSED [ 49%] | |
tests/integration/test_data_write.py::TestDataWrite::test_insert PASSED [ 50%] | |
tests/integration/test_data_write.py::TestDataWrite::test_insert_multiple PASSED [ 50%] | |
tests/integration/test_data_write.py::TestDataWrite::test_insert_durability_soft PASSED [ 51%] | |
tests/integration/test_data_write.py::TestDataWrite::test_insert_durability_hard PASSED [ 52%] | |
tests/integration/test_data_write.py::TestDataWrite::test_insert_return_changes PASSED [ 52%] | |
tests/integration/test_data_write.py::TestDataWrite::test_insert_conflict_error PASSED [ 53%] | |
tests/integration/test_data_write.py::TestDataWrite::test_insert_conflict_replace PASSED [ 54%] | |
tests/integration/test_data_write.py::TestDataWrite::test_insert_conflict_update PASSED [ 55%] | |
tests/integration/test_data_write.py::TestDataWrite::test_query_between_integers PASSED [ 55%] | |
tests/integration/test_data_write.py::TestDataWrite::test_query_between_constants PASSED [ 56%] | |
tests/integration/test_data_write.py::TestDataWrite::test_update_on_table PASSED [ 57%] | |
tests/integration/test_data_write.py::TestDataWrite::test_update_by_id PASSED [ 58%] | |
tests/integration/test_data_write.py::TestDataWrite::test_update_by_filter_result PASSED [ 58%] | |
tests/integration/test_data_write.py::TestDataWrite::test_update_durability_soft PASSED [ 59%] | |
tests/integration/test_data_write.py::TestDataWrite::test_update_durability_hard PASSED [ 60%] | |
tests/integration/test_data_write.py::TestDataWrite::test_update_return_changes PASSED [ 61%] | |
tests/integration/test_data_write.py::TestDataWrite::test_update_non_atomic PASSED [ 61%] | |
tests/integration/test_data_write.py::TestDataWrite::test_replace PASSED [ 62%] | |
tests/integration/test_data_write.py::TestDataWrite::test_replace_by_filter_result PASSED [ 63%] | |
tests/integration/test_data_write.py::TestDataWrite::test_replace_durability_soft PASSED [ 63%] | |
tests/integration/test_data_write.py::TestDataWrite::test_replace_durability_hard PASSED [ 64%] | |
tests/integration/test_data_write.py::TestDataWrite::test_replace_return_changes PASSED [ 65%] | |
tests/integration/test_data_write.py::TestDataWrite::test_replace_non_atomic PASSED [ 66%] | |
tests/integration/test_data_write.py::TestDataWrite::test_delete_on_table PASSED [ 66%] | |
tests/integration/test_data_write.py::TestDataWrite::test_delete_by_id PASSED [ 67%] | |
tests/integration/test_data_write.py::TestDataWrite::test_delete_durability_soft PASSED [ 68%] | |
tests/integration/test_data_write.py::TestDataWrite::test_delete_durability_hard PASSED [ 69%] | |
tests/integration/test_data_write.py::TestDataWrite::test_delete_return_changes PASSED [ 69%] | |
tests/integration/test_database.py::TestDatabase::test_db_create PASSED [ 70%] | |
tests/integration/test_database.py::TestDatabase::test_db_create_twice PASSED [ 71%] | |
tests/integration/test_database.py::TestDatabase::test_db_create_not_alphanumeric PASSED [ 72%] | |
tests/integration/test_database.py::TestDatabase::test_db_drop PASSED [ 72%] | |
tests/integration/test_database.py::TestDatabase::test_db_drop_twice PASSED [ 73%] | |
tests/integration/test_database.py::TestDatabase::test_db_list PASSED [ 74%] | |
tests/integration/test_date_and_time.py::TestDateAndTime::test_insert_with_now PASSED [ 75%] | |
tests/integration/test_index.py::TestTable::test_create_index PASSED [ 75%] | |
tests/integration/test_index.py::TestTable::test_create_nested_field_index PASSED [ 76%] | |
tests/integration/test_index.py::TestTable::test_create_index_geo PASSED [ 77%] | |
tests/integration/test_index.py::TestTable::test_create_compound_index PASSED [ 77%] | |
tests/integration/test_index.py::TestTable::test_create_multi_index PASSED [ 78%] | |
tests/integration/test_index.py::TestTable::test_create_index_twice PASSED [ 79%] | |
tests/integration/test_index.py::TestTable::test_drop_index PASSED [ 80%] | |
tests/integration/test_index.py::TestTable::test_drop_index_twice PASSED [ 80%] | |
tests/integration/test_index.py::TestTable::test_list_index PASSED [ 81%] | |
tests/integration/test_index.py::TestTable::test_rename_index PASSED [ 82%] | |
tests/integration/test_index.py::TestTable::test_rename_index_same_key PASSED [ 83%] | |
tests/integration/test_index.py::TestTable::test_rename_index_overwrite PASSED [ 83%] | |
tests/integration/test_index.py::TestTable::test_rename_index_without_overwrite PASSED [ 84%] | |
tests/integration/test_index.py::TestTable::test_table_index_status PASSED [ 85%] | |
tests/integration/test_index.py::TestTable::test_index_status_empty PASSED [ 86%] | |
tests/integration/test_index.py::TestTable::test_index_status_non_existing PASSED [ 86%] | |
tests/integration/test_ping.py::TestPing::test_bad_password PASSED [ 87%] | |
tests/integration/test_ping.py::TestPing::test_password_connect PASSED [ 88%] | |
tests/integration/test_ping.py::TestPing::test_context_manager PASSED [ 88%] | |
tests/integration/test_repl.py::TestREPL::test_repl_does_not_require_conn PASSED [ 89%] | |
tests/integration/test_table.py::TestTable::test_table_create PASSED [ 90%] | |
tests/integration/test_table.py::TestTable::test_table_different_primary_key PASSED [ 91%] | |
tests/integration/test_table.py::TestTable::test_table_multiple_shards PASSED [ 91%] | |
tests/integration/test_table.py::TestTable::test_table_create_with_replicas PASSED [ 92%] | |
tests/integration/test_table.py::TestTable::test_table_multiple_replicas PASSED [ 93%] | |
tests/integration/test_table.py::TestTable::test_table_create_twice PASSED [ 94%] | |
tests/integration/test_table.py::TestTable::test_table_drop PASSED [ 94%] | |
tests/integration/test_table.py::TestTable::test_table_drop_twice PASSED [ 95%] | |
tests/integration/test_table.py::TestTable::test_table_list PASSED [ 96%] | |
tests/integration/test_tornado.py::TestTornado::test_tornado_list_tables PASSED [ 97%] | |
tests/integration/test_trio.py::TestTrio::test_trio PASSED [ 97%] | |
tests/integration/test_write_hooks.py::TestWriteHooks::test_set_write_hook PASSED [ 98%] | |
tests/integration/test_write_hooks.py::TestWriteHooks::test_write_hook_add_extra_data PASSED [ 99%] | |
tests/integration/test_write_hooks.py::TestWriteHooks::test_get_write_hook PASSED [100%] | |
----------- coverage: platform linux, python 3.9.1-final-0 ----------- | |
Name Stmts Miss Cover Missing | |
---------------------------------------------------------------------------------- | |
rethinkdb/__init__.py 44 4 91% 65-66, 77-78 | |
rethinkdb/__main__.py 50 50 0% 20-113 | |
rethinkdb/_dump.py 102 85 17% 54-167, 171-255, 259 | |
rethinkdb/_export.py 294 261 11% 44-45, 76-189, 193-225, 229-256, 270-422, 426-427, 437-451, 456-562, 568-647, 654-666, 670 | |
rethinkdb/_import.py 798 694 13% 91-157, 160, 164, 171, 175, 179, 183, 188, 192, 196, 200, 204, 207-208, 215-254, 260-287, 294-355, 367-414, 417, 420, 433-473, 493-522, 528-559, 566-583, 591-621, 636-642, 647-649, 654-669, 672-688, 729-1056, 1065-1171, 1175-1219, 1225-1506, 1510-1688, 1692-1708, 1712 | |
rethinkdb/_index_rebuild.py 89 77 13% 54-93, 99-254, 258-270, 274 | |
rethinkdb/_restore.py 135 116 14% 68-191, 197-282, 287-329, 333-342, 346 | |
rethinkdb/ast.py 1161 283 76% 47, 56-58, 70, 73, 80-91, 93, 97, 126-132, 139-140, 157, 160, 163, 166, 169, 172, 176, 179, 182, 185, 188, 191, 194, 197, 200, 203, 206, 209, 212, 215-217, 220-222, 225-227, 230-232, 237, 243, 246, 249, 252, 255, 258, 261, 264, 267, 270, 273, 276, 279, 282, 285, 288, 291, 294, 297, 300, 303, 307, 310, 313, 316, 319, 326, 329, 332, 335, 348, 351, 354, 360, 363, 366, 369, 372, 375, 378, 384-387, 398, 405, 408, 411, 414, 417, 420, 423, 426, 429, 432, 435, 438, 441, 444, 447, 450, 453, 456, 459-463, 466-476, 482, 485-486, 492, 497, 500-503, 506, 509, 512, 515, 518, 521, 524, 527, 531, 534, 537, 540, 543, 548, 551, 554, 557, 560, 563, 566, 569, 572, 575, 578, 581, 584, 587, 590, 594, 597, 600, 603, 606, 609, 614, 619-620, 623, 626-634, 639-643, 653-661, 670-671, 676-686, 695, 700-705, 716, 719, 722, 728, 741-747, 767, 781, 794, 798-806, 811, 828-829, 833-837, 842, 847-852, 874, 881, 895, 902, 916, 953, 956, 993-995, 1109-1114, 1192, 1195, 1198, 1201, 1204, 1207, 1210, 1213, 1228-1231, 1234-1240, 1254, 1280, 1283, 1286, 1289, 1292, 1295, 1298, 1301, 1304, 1307, 1310, 1313-1317, 1728-1749, 1752-1755, 1758-1761, 1922, 1928, 1963 | |
rethinkdb/asyncio_net/__init__.py 0 0 100% | |
rethinkdb/asyncio_net/net_asyncio.py 227 182 20% 44-54, 66-79, 84-87, 97-98, 101, 104-107, 110-114, 117-119, 124-135, 140, 143-151, 154-160, 169-176, 179-180, 183-184, 187-255, 258, 261-288, 291-298, 306-339, 344-348, 353, 356, 359-362, 367-370, 373-377 | |
rethinkdb/backports/__init__.py 2 2 0% 2-4 | |
rethinkdb/backports/ssl_match_hostname/__init__.py 48 48 0% 19-124 | |
rethinkdb/docs.py 10 10 0% 5-730 | |
rethinkdb/errors.py 113 38 66% 49, 53, 74-77, 180-183, 195, 198, 201-205, 209-227, 237-238, 241-254 | |
rethinkdb/gevent_net/__init__.py 0 0 100% | |
rethinkdb/gevent_net/net_gevent.py 207 207 0% 18-336 | |
rethinkdb/handshake.py 159 43 73% 35-57, 61-99, 400 | |
rethinkdb/helpers.py 7 0 100% | |
rethinkdb/logger.py 33 0 100% | |
rethinkdb/net.py 464 127 73% 69-70, 75-76, 82, 87, 117-118, 129, 131, 145, 199, 202, 206-209, 215-218, 245-259, 294-296, 349-396, 419-432, 445-448, 463-465, 468-469, 473, 478-480, 486-487, 496-513, 525-526, 529-530, 544, 571, 592-593, 602, 607-610, 637-638, 650, 652, 658-662, 665, 677-678, 681-682, 686, 714, 725-727, 730-732, 752-754 | |
rethinkdb/ql2_pb2.py 251 0 100% | |
rethinkdb/query.py 179 66 63% 108, 112, 116, 120, 124, 128, 132, 159, 179, 183, 187-191, 198, 202, 206, 210, 214, 218, 222, 226, 230, 235, 239, 244, 248, 252, 256, 260, 264, 268, 272, 276, 280, 284, 288, 292, 296, 300, 304, 308, 312, 316, 320, 324, 328, 332, 336, 340, 344, 348, 352, 356, 360, 374, 404, 409, 413, 417, 422, 426, 430, 434, 438, 442, 446 | |
rethinkdb/tornado_net/__init__.py 0 0 100% | |
rethinkdb/tornado_net/net_tornado.py 207 155 25% 44-51, 61-62, 65-67, 73-80, 87, 91-97, 102-112, 115-116, 119-120, 124-194, 197, 201-225, 229-236, 246-279, 286, 292-294, 298-302, 306-307, 311-312, 316-317, 321-322, 326-327 | |
rethinkdb/trio_net/__init__.py 0 0 100% | |
rethinkdb/trio_net/net_trio.py 325 114 65% 67-70, 75, 78, 85-86, 89, 103, 108-109, 134-138, 145-150, 155-164, 176-177, 180, 184, 210-211, 214-215, 234-235, 252-258, 260-263, 271-272, 291-302, 317, 326-327, 333-334, 338-339, 371, 385-390, 392-393, 396, 406-407, 412-414, 460-461, 465-466, 470, 483-489, 492, 495-508, 511-515, 518-524 | |
rethinkdb/twisted_net/__init__.py 0 0 100% | |
rethinkdb/twisted_net/net_twisted.py 285 285 0% 18-455 | |
rethinkdb/utils_common.py 205 104 49% 42, 45, 50, 57-74, 80-127, 131-144, 148-168, 181, 187-192, 204, 223-228, 231-243, 246-255, 265-273, 302, 305-308, 310, 323, 421-424, 449-452, 465-475 | |
---------------------------------------------------------------------------------- | |
TOTAL 5395 2951 45% | |
=================================================== 136 passed in 44.33s =================================================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment