forked from fabiocerqueira/django-pagseguro
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adicionado teste para verificação das contantes obrigatórias
- Loading branch information
1 parent
8468533
commit 1274cc2
Showing
1 changed file
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
from django.test import TestCase | ||
from django.utils import unittest | ||
|
||
import django_pagseguro | ||
|
||
from django_pagseguro.tests.signals import * | ||
from django_pagseguro.tests.pagseguro import * | ||
from django_pagseguro.tests.views import * | ||
|
||
class ConfiguracoesDaApp(unittest.TestCase): | ||
|
||
def test_cosntantes_no_settings(self): | ||
from django.conf import settings | ||
self.assertTrue(hasattr(settings, 'PAGSEGURO_EMAIL_COBRANCA')) | ||
self.assertTrue(hasattr(settings, 'PAGSEGURO_TOKEN')) | ||
self.assertTrue(hasattr(settings, 'PAGSEGURO_URL_FINAL')) |