예제 #1
0
def test_get_issues_no_hydrator():
    app = CometApi().create_app()
    with app.app_context():
        client = app.test_client()
        assert client.get('/v0/issues')
예제 #2
0
def test_get_issues_no_hydrator():
    """Test the get_issues endpoint still works while there is no hydrator"""
    app = CometApi().create_app()
    with app.app_context():
        client = app.test_client()
        assert client.get("/v0/issues")