Avoid failover when running link tests

We want to get the point where we're running link tests for each
lambda independently. The tests weren't checking for the failover
mechanism for link tests, so we can just remove it.
This commit is contained in:
Ben Thorner
2021-07-19 14:28:13 +01:00
parent b6774bf0f7
commit 1e8eda0d15

View File

@@ -169,7 +169,7 @@ class CBCProxyOne2ManyClient(CBCProxyClientBase):
'message_format': 'cap'
}
self._invoke_lambda_with_failover(payload=payload)
self._invoke_lambda(lambda_name=self.lambda_name, payload=payload)
def create_and_send_broadcast(
self, identifier, headline, description, areas, sent, expires, channel, message_number=None
@@ -250,7 +250,7 @@ class CBCProxyVodafone(CBCProxyClientBase):
'message_format': 'ibag'
}
self._invoke_lambda_with_failover(payload=payload)
self._invoke_lambda(lambda_name=self.lambda_name, payload=payload)
def create_and_send_broadcast(
self, identifier, message_number, headline, description, areas, sent, expires, channel