Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_eu_base_uri_retrieval():
reconfigure_settings(SPARKPOST_BASE_URI=EU_API)
backend = SparkPostEmailBackend()
assert backend.client.base_uri.startswith('https://' + EU_API)