@mock.patch(command_connections, sqlite)
    def test_invalid_not_mysql(self):
        with pytest.raises(CommandError) as excinfo:
            call_command('dbparams', skip_checks=True)
        assert str(excinfo.value) in "not a MySQL database connection"
dataset/ETHPy150Open adamchainz/django-mysql/tests/testapp/management/commands/test_dbparams.py/DBParamsTests.test_invalid_not_mysql/swapped operands of `in`