diff --git a/tests/auth_test.py b/tests/auth_test.py index b2afe88..613dda5 100644 --- a/tests/auth_test.py +++ b/tests/auth_test.py @@ -178,7 +178,7 @@ def test_disallowed_hostname( callback_url = 'https://example.com/callback' with self.assertRaisesRegex( - ValueError, 'disallowed hostname example.com'): + ValueError, 'Disallowed hostname example.com'): auth.client_from_login_flow( API_KEY, APP_SECRET, callback_url, self.token_path) @@ -193,7 +193,7 @@ def test_disallowed_hostname_with_port( callback_url = 'https://example.com:8080/callback' with self.assertRaisesRegex( - ValueError, 'disallowed hostname example.com'): + ValueError, 'Disallowed hostname example.com'): auth.client_from_login_flow( API_KEY, APP_SECRET, callback_url, self.token_path)