def test_parses_list_correctly():
    """
    Parses the long and short list flags.
    """
    expected_args = _create_mock_args(list=True)

    _helper_parses_correctly(['-l'], expected_args)
    _helper_parses_correctly(['--list'], expected_args)

    Parses the long and short list flags.
    
test/core_test.py