def test_probably_geojson():
    # nope
    assert utils.probably_geojson('') is None
    assert utils.probably_geojson('{}') is None
    assert utils.probably_geojson({}) is None
    assert utils.probably_geojson({'type': 'random'}) is None
    # yep
    assert utils.probably_geojson({'type': 'Point'}) == {'type': 'Point'}
    assert utils.probably_geojson('{"type": "Point"}') == {'type': 'Point'}
def test_probably_geojson():
    # nope
    assert utils.probably_geojson('') is None
    assert utils.probably_geojson('{}') is None
    assert utils.probably_geojson({}) is None
    assert utils.probably_geojson({'type': 'random'}) is None
    # yep
    assert utils.probably_geojson({'type': 'Point'}) == {'type': 'Point'}
    assert utils.probably_geojson('{"type": "Point"}') == {'type': 'Point'}