Browse Source

Coloca teste de CharField e TextField em um método

pull/285/merge
Eduardo Edson Batista Cordeiro Alves 9 years ago
parent
commit
4191bc5386
  1. 3
      sapl/test_general.py

3
sapl/test_general.py

@ -6,7 +6,8 @@ from .settings import SAPL_APPS
pytestmark = pytest.mark.django_db
for model in apps.get_models():
def test_charfiled_textfield():
for model in apps.get_models():
fields = model._meta.local_fields
for field in fields:
if (type(field).__name__ == 'CharField' or

Loading…
Cancel
Save