def METHOD_NAME(fresh_aiida_env, cmd_params):
    """Make sure --dry-run does not affect the db."""
    from aiida.orm import Group, Node
    from aiida.orm.querybuilder import QueryBuilder
    node_qb = QueryBuilder(path=[Node])
    node_count = node_qb.count()
    group_qb = QueryBuilder(path=[Group])
    group_count = group_qb.count()
    result = run_cmd(
        'uploadfamily', [cmd_params.PATH_OPTION, cmd_params.NAME_OPTION, cmd_params.DESC_OPTION, '--dry-run']
    )
    assert not result.exception
    node_qb = QueryBuilder(path=[Node])
    assert node_count == node_qb.count()
    group_qb = QueryBuilder(path=[Group])
    assert group_count == group_qb.count()