This repository has been archived on 2023-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
python-blog/articles/tests/test_migrations.py

7 lines
164 B
Python

import pytest
from django.core.management import call_command
@pytest.mark.django_db
def test_missing_migrations():
call_command("makemigrations", "--check")