ZuluPro/myblog

View on GitHub
myblog/about/tests.py

Summary

Maintainability
A
1 hr
Test Coverage
from django.test import TestCase
from django.core.urlresolvers import reverse


class ViewAboutMeTest(TestCase):
    fixtures = (
        'initial_data',
    )

    def test_view(self):
        url = reverse('aboutme')
        res = self.client.get(url)
        self.assertEqual(res.status_code, 200)