É possível rodas os testes com 'python test/test_*.py'
authorEduardo Elias Camponez <camponez@gmail.com>
Sat, 4 May 2013 21:42:27 +0000 (18:42 -0300)
committerEduardo Elias Camponez <camponez@gmail.com>
Sun, 7 Jul 2013 17:02:55 +0000 (14:02 -0300)
test/test_contribuinte.py

index ebd111d..bcf4276 100644 (file)
@@ -38,5 +38,7 @@ class TestContribuinte(unittest.TestCase):
         self.assertEqual(self.contribuinte.get_campo_contribuinte('nome'),
                 'MARIA DA SILVA DE SOUZA')
 
+if __name__ == '__main__':
+    unittest.main()
 
 # vim:tabstop=4:expandtab:smartindent:fenc=utf8