from django.test import TestCase

# Create your tests here.

from django.core.urlresolvers import resolve
from django.test import TestCase

from layout.views import home


class HomePageTest(TestCase):

    def test_root_url_resolves_to_home_page(self):
        found = resolve('/')
        self.assertEqual(found.func, home)

Add home page resolve test to layout
Add home page resolve test to layout
