Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

Commit c961aea

Browse files
committed
Wrap mocked function
1 parent 45a9a9d commit c961aea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_full_table_interruption.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def setUp(self):
6363
global CAUGHT_MESSAGES
6464
CAUGHT_MESSAGES.clear()
6565

66-
@mock.patch('tap_postgres.sync_logical_streams')
66+
@mock.patch('tap_postgres.sync_logical_streams', wraps=tap_postgres.sync_logical_streams)
6767
def test_catalog(self, mock_sync_logical_streams):
6868
singer.write_message = singer_write_message_no_cow
6969
pg_common.write_schema_message = singer_write_message_ok

0 commit comments

Comments
 (0)