Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Sep 17, 2023
1 parent 0ca25e6 commit 7b0191b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def test_persists_recording_from_blob_ingested_storage(self):
f"{recording.build_object_storage_path('2023-08-01')}/c",
]

@patch("ee.models.session_recording_extensions.report_team_action")
@patch("ee.session_recordings.session_recording_extensions.report_team_action")
def test_persist_tracks_correct_to_posthog(self, mock_capture):
two_minutes_ago = (datetime.now() - timedelta(minutes=2)).replace(tzinfo=timezone.utc)

Expand Down
4 changes: 2 additions & 2 deletions ee/session_recordings/test/test_session_recording_playlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ def test_get_pinned_recordings_for_playlist(self):
assert {x["id"] for x in result["results"]} == {session_one, session_two}
assert {x["pinned_count"] for x in result["results"]} == {1, 1}

@patch("ee.models.session_recording_extensions.object_storage.list_objects")
@patch("ee.models.session_recording_extensions.object_storage.copy_objects")
@patch("ee.session_recordings.session_recording_extensions.object_storage.list_objects")
@patch("ee.session_recordings.session_recording_extensions.object_storage.copy_objects")
def test_fetch_playlist_recordings(self, mock_copy_objects: MagicMock, mock_list_objects: MagicMock) -> None:
# all sessions have been blob ingested and had data to copy into the LTS storage location
mock_copy_objects.return_value = 1
Expand Down

0 comments on commit 7b0191b

Please sign in to comment.