From 3dcd3f78460f967fba3f9cba083f7bcfb98810d7 Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Wed, 17 Sep 2014 21:12:27 -0300 Subject: [PATCH] Removidos testes vazios --- sigi/apps/diagnosticos/tests.py | 15 --------------- sigi/apps/relatorios/tests.py | 23 ----------------------- 2 files changed, 38 deletions(-) delete mode 100644 sigi/apps/diagnosticos/tests.py delete mode 100644 sigi/apps/relatorios/tests.py diff --git a/sigi/apps/diagnosticos/tests.py b/sigi/apps/diagnosticos/tests.py deleted file mode 100644 index dfe01f4..0000000 --- a/sigi/apps/diagnosticos/tests.py +++ /dev/null @@ -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') diff --git a/sigi/apps/relatorios/tests.py b/sigi/apps/relatorios/tests.py deleted file mode 100644 index 2247054..0000000 --- a/sigi/apps/relatorios/tests.py +++ /dev/null @@ -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 -"""} -