Exemple #1
0
    def test_maps(self):
        mse = MSE()

        response = mse.get('maps')

        assert response is not None, "No response returned"
        assert 'Maps' in response
Exemple #2
0
def get_maps():
    # See mobility/framework/mse.py for information on
    # how the MSE class is implemented
    mse = MSE()

    # The return value of mse.get('maps') will be available
    # to the maps.html template as the variable 'maps'
    return render_template("maps.html", maps=mse.get("maps"))