This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mock.patch.object(cell_mapping.CellMapping, '_get_by_uuid_from_db') | |
def test_non_formatted_url_with_base(self, mock_get): | |
# Make sure we just pass through the template URL if the base | |
# URLs are set, i.e. we don't try to format the URL to a template. | |
url = 'foo{' | |
self.flags(transport_url=url) | |
self.flags(connection=None, group='database') | |
db_mapping = get_db_mapping(transport_url=url, | |
database_connection=url) | |
mock_get.return_value = db_mapping |
OlderNewer