def test_flow_social_skipped_accountDetailsWrong(self):
     ckvId = SocialHelper.updateConfigKeyValue(0)
     try:
         cdDetailsBody = {
             'campaignId': self.campaigns['ORG'],
             'targetType': 'SOCIAL',
             'communicationType': 'FACEBOOK',
             'subject': '',
             'recipientListId': self.groupVersionid,
             'overallRecipientCount': self.numberOfUsers,
             'expectedDeliveryCount': self.numberOfUsers,
             'groupName': self.groupName
         }
         extraParams = {
             'voucher_series': self.voucherSeriesId,
             'default_argument': {
                 "entity_id": -1,
                 "is_loyalty_checkbox_enabled": "0",
                 "voucher_series_id": self.voucherSeriesId,
                 "daily_budget": 10000,
                 "create_adset": True,
                 "use_existing_adset": False,
                 "adset_name":
                 'AutoAdset_{}'.format(int(time.time() * 1000))
             }
         }
         communicationDetailObject = VenenoObject.communicationDetail(
             cdDetailsBody, extraParams=extraParams)
         communicationId = self.connObj.addMessageForRecipients(
             communicationDetailObject)
         SocialHelper.assertCommunicationDetailInErrorState(
             self.groupVersionid, communicationId)
     except Exception, exp:
         Assertion.constructAssertion(False, 'Excpetion :{}'.format(exp))
                'communicationType': 'FACEBOOK',
                'subject': '',
                'recipientListId': self.groupVersionid,
                'overallRecipientCount': self.numberOfUsers,
                'expectedDeliveryCount': self.numberOfUsers,
                'groupName': self.groupName
            }
            extraParams = {
                'voucher_series': self.voucherSeriesId,
                'default_argument': {
                    "entity_id": -1,
                    "is_loyalty_checkbox_enabled": "0",
                    "voucher_series_id": self.voucherSeriesId,
                    "daily_budget": 10000,
                    "create_adset": True,
                    "use_existing_adset": False,
                    "adset_name":
                    'AutoAdset_{}'.format(int(time.time() * 1000))
                }
            }
            communicationDetailObject = VenenoObject.communicationDetail(
                cdDetailsBody, extraParams=extraParams)
            communicationId = self.connObj.addMessageForRecipients(
                communicationDetailObject)
            SocialHelper.assertCommunicationDetailInErrorState(
                self.groupVersionid, communicationId)
        except Exception, exp:
            Assertion.constructAssertion(False, 'Excpetion :{}'.format(exp))
        finally:
            SocialHelper.updateConfigKeyValue(1, ckvId)