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/src/articles/tests/test_migrations.py

8 lines
174 B
Python
Raw Normal View History

import pytest
from django.core.management import call_command
@pytest.mark.django_db()
2021-12-31 12:08:03 +01:00
def test_missing_migrations() -> None:
call_command("makemigrations", "--check")