()
| 43 | |
| 44 | |
| 45 | def test_geojson(): |
| 46 | |
| 47 | gj = display.GeoJSON(data={ |
| 48 | "type": "Feature", |
| 49 | "geometry": { |
| 50 | "type": "Point", |
| 51 | "coordinates": [-81.327, 296.038] |
| 52 | }, |
| 53 | "properties": { |
| 54 | "name": "Inca City" |
| 55 | } |
| 56 | }, |
| 57 | url_template="http://s3-eu-west-1.amazonaws.com/whereonmars.cartodb.net/{basemap_id}/{z}/{x}/{y}.png", |
| 58 | layer_options={ |
| 59 | "basemap_id": "celestia_mars-shaded-16k_global", |
| 60 | "attribution": "Celestia/praesepe", |
| 61 | "minZoom": 0, |
| 62 | "maxZoom": 18, |
| 63 | }) |
| 64 | nt.assert_equal(u'<IPython.core.display.GeoJSON object>', str(gj)) |
| 65 | |
| 66 | def test_retina_png(): |
| 67 | here = os.path.dirname(__file__) |
nothing calls this directly
no outgoing calls
no test coverage detected