'Ensure backend renders default if template path does not exist'

def test_backend_output(self):

    view = FilterFieldsRootView()
    backend = view.filter_backends[0]
    request = view.initialize_request(factory.get(u'/'))
    html = backend().to_html(request, view.get_queryset(), view)
    self.assertHTMLEqual(html, u'\n                                <h2>Field    filters</h2>\n                                <form    class="form"    action=""    method="get">\n                                                <p>\n                                                                <label    for="id_decimal">Decimal:</label>\n                                                                <input    id="id_decimal"    name="decimal"    step="any"    type="number"    />\n                                                </p>\n                                                <p>\n                                                                <label    for="id_date">Date:</label>\n                                                                <input    id="id_date"    name="date"    type="text"    />\n                                                </p>\n                                                <button    type="submit"    class="btn    btn-primary">Submit</button>\n                                </form>\n                                ')
