Skip to content

Commit

Permalink
wrote a NEW failing test; now to write the code
Browse files Browse the repository at this point in the history
  • Loading branch information
kojoidrissa committed Oct 5, 2017
1 parent 1348c0f commit 79cfd83
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions superlists/lists/tests.py
@@ -1,6 +1,9 @@
from django.urls import resolve
from django.test import TestCase
from lists.views import home_page

class SmokeTest(TestCase):
class HomePageTest(TestCase):

def test_bad_maths(self):
self.assertEqual(1 + 1, 3)
def test_root_url_resolves_to_home_page_view(self):
found = resolve('/')
self.assertEqual(found.func, home_page)

0 comments on commit 79cfd83

Please sign in to comment.