aerich/tests/test_python_m.py
Waket Zheng 557271c8e1
feat: support command python -m aerich (#417)
* feat: support command `python -m aerich`

* docs: update changelog
2025-02-18 15:44:02 +08:00

7 lines
170 B
Python

from aerich.version import __version__
from tests._utils import run_shell
def test_python_m_aerich():
assert __version__ in run_shell("python -m aerich --version")