def cat_view(request, cat_id):

    if not cat_id:
        abort(400)
    kwargs = category.Category(REDIS, cat_id=cat_id).to_dict()
    slice = request.args.get("time_slice", None)
    if slice:
        kwargs["time_slice"] = slice

    return render_template(
        "category.html", cat_id=cat_id, **kwargs)
@Test: Create a datetime with non-Date arguments
dataset/ETHPy150Open gmcquillan/firetower/firetower/web/firetower_web.py/cat_view--crossover with--dataset/ETHPy150Open omaciel/fauxfactory/tests/test_datetime.py/TestDates.test_gen_datetime_9