def test_showmigrations_command_override(mocker):
    mock_django_handle = mocker.patch(
        'django.core.management.commands.showmigrations.Command.handle')
    mock_show_migrations = mocker.patch(
        'septentrion.show_migrations', return_value=b'')

    call_command('showmigrations')

    assert mock_django_handle.called is False
    assert mock_show_migrations.called is True