Projet

Général

Profil

0001-management-convert_to_sql-add-failing-test.patch

Christophe Siraut, 15 juin 2018 16:41

Télécharger (740 octets)

Voir les différences:

Subject: [PATCH 1/3] management/convert_to_sql: add failing test

 tests/test_convert_to_sql.py | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 tests/test_convert_to_sql.py
tests/test_convert_to_sql.py
1
import pytest
2
from django.core.management import get_commands
3
from django.core.management import call_command
4

  
5

  
6
def test_command_exists():
7
   assert 'convert_to_sql' in get_commands()
0
-