Skip to content

Commit

Permalink
fix bug in bookmarks test
Browse files Browse the repository at this point in the history
  • Loading branch information
leslievandemark committed Dec 12, 2024
1 parent 75d3abd commit e085340
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_github_bookmarks.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import datetime
import dateutil.parser
import pytz
import copy

from tap_tester import runner, menagerie, connections

Expand Down Expand Up @@ -28,7 +29,7 @@ def calculated_states_by_stream(self, current_state, synced_records, replication

repo = self.get_properties().get('repository')
#stream_to_calculated_state = {repo: {stream: "" for stream in current_state['bookmarks'][repo].keys()}}
stream_to_calculated_state = current_state.copy()['bookmarks']
stream_to_calculated_state = copy.deepcopy(current_state)['bookmarks']

for stream in current_state['bookmarks'].keys():
for repo, state in current_state['bookmarks'][stream].items():
Expand Down

0 comments on commit e085340

Please sign in to comment.