(conn_name, test_frame1, request)
| 2727 | |
| 2728 | @pytest.mark.parametrize("conn_name", all_connectable) |
| 2729 | def test_delete_rows_success(conn_name, test_frame1, request): |
| 2730 | table_name = "temp_delete_rows_frame" |
| 2731 | conn = request.getfixturevalue(conn_name) |
| 2732 | |
| 2733 | with pandasSQL_builder(conn) as pandasSQL: |
| 2734 | with pandasSQL.run_transaction(): |
| 2735 | assert pandasSQL.to_sql(test_frame1, table_name) == test_frame1.shape[0] |
| 2736 | |
| 2737 | with pandasSQL.run_transaction(): |
| 2738 | assert pandasSQL.delete_rows(table_name) is None |
| 2739 | |
| 2740 | assert count_rows(conn, table_name) == 0 |
| 2741 | assert pandasSQL.has_table(table_name) |
| 2742 | |
| 2743 | |
| 2744 | @pytest.mark.parametrize("conn_name", all_connectable) |
nothing calls this directly
no test coverage detected