"""
=============================================================
c:/1work/Python/djcode/pjtk2/pjtk2/tests/test_urls.py
Created: 07 Aug 2015 15:22:49


DESCRIPTION:



<NAME>
=============================================================
"""

import pytest

from django.urls import resolve

from tfat.views import *


def test_root_url_resolves_to_home_page_view():
    """the home page should be the view of the most recent tag recoveries."""
    found = resolve("/tfat/")
    assert found.func == tags_recovered_this_year
