def METHOD_NAME(self):
    """
    Verify the error on providing both the --enabled and --disabled flags.
    """
    with pytest.raises(CommandError) as error:
        call_command(self.command, '--enabled', '--disabled', *self.site_id_arg)
    assert 'argument --disabled: not allowed with argument --enabled' in str(error.value)