Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def _prepare_create_resource(self, test_class_instance, **kwargs):
# generated, so in_recording will be True even if live_test is false, so a random name would be given.
# In cached mode we need to avoid this because then for tests with recordings, they would not have a moniker.
if (self.live_test or test_class_instance.in_recording) \
and not (not self.live_test and test_class_instance.in_recording and self._use_cache):
and not (not test_class_instance.is_live and test_class_instance.in_recording and self._use_cache):
resource_name = self.random_name
if not self.live_test and isinstance(self, RecordingProcessor):
test_class_instance.recording_processors.append(self)
Expand Down