def test_get_url_file_urls():
    url = 'https://example.com/release-schema.json'

    obj = ExtensionVersion(arguments(), file_urls={'release-schema.json': url})

    assert obj.get_url('release-schema.json') == url
def test_get_url():
    obj = ExtensionVersion(arguments())

    url = 'https://raw.githubusercontent.com/open-contracting-extensions/ocds_location_extension/v1.1.3/extension.json'

    assert obj.get_url('extension.json') == url