def test_invalid_database(self):
        with pytest.raises(CommandError) as excinfo:
            call_command('dbparams', 'nonexistent', skip_checks=True)
        assert str(excinfo.value) in "does not exist"
dataset/ETHPy150Open adamchainz/django-mysql/tests/testapp/management/commands/test_dbparams.py/DBParamsTests.test_invalid_database/swapped operands of `in`