8fd49a708046f5d119562db17d10aa4d23b0b9ac,tests/test_osmnx.py,,test_get_network_methods,#,118

Before Change


    calif = gpd.read_file("tests/input_data/ZillowNeighborhoods-CA")
    mission_district = calif[(calif["CITY"]=="San Francisco") & (calif["NAME"]=="Mission")]
    polygon = mission_district["geometry"].iloc[0]
    with httmock.HTTMock(response_content):
        G6 = ox.graph_from_polygon(polygon, network_type="walk")


def test_stats():

    location_point = (37.791427, -122.410018)
    with httmock.HTTMock(response_content):

After Change


    calif = gpd.read_file("tests/input_data/ZillowNeighborhoods-CA")
    mission_district = calif[(calif["CITY"]=="San Francisco") & (calif["NAME"]=="Mission")]
    polygon = mission_district["geometry"].iloc[0]
    with httmock.HTTMock(response_content_nominatim), httmock.HTTMock(make_response_content_overpass("overpass-response-12.json.gz")):
        G6 = ox.graph_from_polygon(polygon, network_type="walk")


def test_stats():

    location_point = (37.791427, -122.410018)
    with httmock.HTTMock(response_content_nominatim), httmock.HTTMock(make_response_content_overpass("overpass-response-5.json.gz")):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 9

Instances


Project Name: gboeing/osmnx
Commit Name: 8fd49a708046f5d119562db17d10aa4d23b0b9ac
Time: 2017-10-20
Author: mike@remix.com
File Name: tests/test_osmnx.py
Class Name:
Method Name: test_get_network_methods


Project Name: gboeing/osmnx
Commit Name: 8fd49a708046f5d119562db17d10aa4d23b0b9ac
Time: 2017-10-20
Author: mike@remix.com
File Name: tests/test_osmnx.py
Class Name:
Method Name: test_routing_folium


Project Name: gboeing/osmnx
Commit Name: 8fd49a708046f5d119562db17d10aa4d23b0b9ac
Time: 2017-10-20
Author: mike@remix.com
File Name: tests/test_osmnx.py
Class Name:
Method Name: test_network_saving_loading


Project Name: gboeing/osmnx
Commit Name: 8fd49a708046f5d119562db17d10aa4d23b0b9ac
Time: 2017-10-20
Author: mike@remix.com
File Name: tests/test_osmnx.py
Class Name:
Method Name: test_plots


Project Name: gboeing/osmnx
Commit Name: 8fd49a708046f5d119562db17d10aa4d23b0b9ac
Time: 2017-10-20
Author: mike@remix.com
File Name: tests/test_osmnx.py
Class Name:
Method Name: test_stats