Adding check to not create resourcegroup in playback mode
@@ -30,6 +30,8 @@ class MgmtRecoveryServicesTests(AzureMgmtTestCase):
self.test_definition = MgmtRecoveryServicesTestDefinition(self.settings.SUBSCRIPTION_ID, self.resource_name,
self.group_name)
self.test_helper = MgmtRecoveryServicesTestHelper(self)
+
+ if not self.is_playback():
self.create_resource_group()
@record
