@@ -30,9 +30,9 @@ def test_get_url_from_parameter_store_aws(self, mock_env_vars):
3030
3131 def test_get_url (self ):
3232 with patch .object (AccessControl , 'get_url_from_parameter_store' ) as mock_method :
33- self .access_control .url = "http://test-url .com"
33+ self .access_control .url = "http://example .com"
3434 result = self .access_control .get_url ()
35- self .assertEqual (result , "http://test-url .com" )
35+ self .assertEqual (result , "http://example .com" )
3636 mock_method .assert_not_called ()
3737
3838 with patch .object (AccessControl , 'get_url_from_parameter_store' ) as mock_method :
@@ -47,7 +47,7 @@ def test_get_permissions(self, mock_get):
4747 mock_response .text = '{"C1200484253-CMR_ONLY":["read","update","delete","order"]}'
4848 mock_get .return_value = mock_response
4949
50- self .access_control .url = "http://test-url .com"
50+ self .access_control .url = "http://example .com"
5151 result = self .access_control .get_permissions ("user1" , "C1200484253-CMR_ONLY" )
5252 self .assertEqual (result , '{"C1200484253-CMR_ONLY":["read","update","delete","order"]}' )
5353
@@ -57,7 +57,7 @@ def test_get_permissions_failure(self, mock_get):
5757 mock_response .status_code = 404
5858 mock_get .return_value = mock_response
5959
60- self .access_control .url = "http://test-url .com"
60+ self .access_control .url = "http://example .com"
6161 result = self .access_control .get_permissions ("user1" , "C1200484253-CMR_ONLY" )
6262 self .assertIsNone (result )
6363
0 commit comments