From 7b0191bec95db4833c8c8b60e3836165dd1ad592 Mon Sep 17 00:00:00 2001 From: Paul D'Ambra Date: Sun, 17 Sep 2023 13:09:06 +0100 Subject: [PATCH] fix --- .../test/test_session_recording_extensions.py | 2 +- ee/session_recordings/test/test_session_recording_playlist.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ee/session_recordings/test/test_session_recording_extensions.py b/ee/session_recordings/test/test_session_recording_extensions.py index da17a2c935ccb..e201e71a02563 100644 --- a/ee/session_recordings/test/test_session_recording_extensions.py +++ b/ee/session_recordings/test/test_session_recording_extensions.py @@ -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) diff --git a/ee/session_recordings/test/test_session_recording_playlist.py b/ee/session_recordings/test/test_session_recording_playlist.py index f1d8d1ea409ea..ddbb4d1195bca 100644 --- a/ee/session_recordings/test/test_session_recording_playlist.py +++ b/ee/session_recordings/test/test_session_recording_playlist.py @@ -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