()
| 3723 | |
| 3724 | |
| 3725 | def test_update_rows_no_columns(): |
| 3726 | old = T( |
| 3727 | """ |
| 3728 | | |
| 3729 | 1 | |
| 3730 | 2 | |
| 3731 | 3 | |
| 3732 | 4 | |
| 3733 | """ |
| 3734 | ).select() |
| 3735 | update = T( |
| 3736 | """ |
| 3737 | | |
| 3738 | 1 | |
| 3739 | 5 | |
| 3740 | """ |
| 3741 | ).select() |
| 3742 | expected = T( |
| 3743 | """ |
| 3744 | | |
| 3745 | 1 | |
| 3746 | 2 | |
| 3747 | 3 | |
| 3748 | 4 | |
| 3749 | 5 | |
| 3750 | """ |
| 3751 | ).select() |
| 3752 | new = old.update_rows(update) |
| 3753 | assert_table_equality(new, expected) |
| 3754 | |
| 3755 | |
| 3756 | def test_update_rows_0_rows(): |
nothing calls this directly
no test coverage detected