mirror of https://github.com/interlegis/sigi.git
Marcio Mazza
10 years ago
2 changed files with 0 additions and 38 deletions
@ -1,15 +0,0 @@ |
|||
# -*- coding: utf8 -*- |
|||
|
|||
from django.test import TestCase |
|||
|
|||
|
|||
class DiagnosticosViewsTest(TestCase): |
|||
"""Testes feitos para verificar o funcionamento |
|||
do view de diagnósticos. |
|||
""" |
|||
|
|||
def test_diagnostico_list_success(self): |
|||
|
|||
response = self.client.get('/mobile/diagnosticos') |
|||
self.assertEquals(200, response.status_code) |
|||
self.assertTemplateUsed(response, 'diagnosticos/diagnosticos_list.html') |
@ -1,23 +0,0 @@ |
|||
""" |
|||
This file demonstrates two different styles of tests (one doctest and one |
|||
unittest). These will both pass when you run "manage.py test". |
|||
|
|||
Replace these with more appropriate tests for your application. |
|||
""" |
|||
|
|||
from django.test import TestCase |
|||
|
|||
class SimpleTest(TestCase): |
|||
def test_basic_addition(self): |
|||
""" |
|||
Tests that 1 + 1 always equals 2. |
|||
""" |
|||
self.failUnlessEqual(1 + 1, 2) |
|||
|
|||
__test__ = {"doctest": """ |
|||
Another way to test that 1 + 1 is equal to 2. |
|||
|
|||
>>> 1 + 1 == 2 |
|||
True |
|||
"""} |
|||
|
Loading…
Reference in new issue