8d4a722f73a1e856ba93a5511b5a8cd2a275d18b,bokeh/tests/test_tile_providers.py,Test_CartoProviders,test_attribution,#Test_CartoProviders#Any#,116
Before Change
assert p.url == _CARTO_URLS[name]
def test_attribution(self, name):
with pytest.deprecated_call():
p = getattr(bt, name)
assert p.attribution == (
"© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors,"
"© <a href="https://cartodb.com/attributions">CartoDB</a>"
)
After Change
assert p.url == _CARTO_URLS[name]
def test_attribution(self, name):
p = bt.get_provider(getattr(bt, name))
assert p.attribution == (
"© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors,"
"© <a href="https://cartodb.com/attributions">CartoDB</a>"
)
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 9
Instances
Project Name: bokeh/bokeh
Commit Name: 8d4a722f73a1e856ba93a5511b5a8cd2a275d18b
Time: 2019-10-27
Author: bryan@bokeh.org
File Name: bokeh/tests/test_tile_providers.py
Class Name: Test_CartoProviders
Method Name: test_attribution
Project Name: bokeh/bokeh
Commit Name: 8d4a722f73a1e856ba93a5511b5a8cd2a275d18b
Time: 2019-10-27
Author: bryan@bokeh.org
File Name: bokeh/tests/test_tile_providers.py
Class Name: Test_CartoProviders
Method Name: test_copies
Project Name: bokeh/bokeh
Commit Name: 8d4a722f73a1e856ba93a5511b5a8cd2a275d18b
Time: 2019-10-27
Author: bryan@bokeh.org
File Name: bokeh/tests/test_tile_providers.py
Class Name: Test_StamenProviders
Method Name: test_attribution
Project Name: bokeh/bokeh
Commit Name: 8d4a722f73a1e856ba93a5511b5a8cd2a275d18b
Time: 2019-10-27
Author: bryan@bokeh.org
File Name: bokeh/tests/test_tile_providers.py
Class Name: Test_CartoProviders
Method Name: test_url
Project Name: bokeh/bokeh
Commit Name: 8d4a722f73a1e856ba93a5511b5a8cd2a275d18b
Time: 2019-10-27
Author: bryan@bokeh.org
File Name: bokeh/tests/test_tile_providers.py
Class Name: Test_StamenProviders
Method Name: test_copies
Project Name: bokeh/bokeh
Commit Name: 8d4a722f73a1e856ba93a5511b5a8cd2a275d18b
Time: 2019-10-27
Author: bryan@bokeh.org
File Name: bokeh/tests/test_tile_providers.py
Class Name: Test_StamenProviders
Method Name: test_url