def test_parses_custom_dir_correctly():
    """
    Parses the long and short custom dir flags.
    """
    custom_dir = 'path/to/custom'
    expected_args = _create_mock_args(custom_dir=custom_dir)

    _helper_parses_correctly(['-c', custom_dir], expected_args)
    _helper_parses_correctly(['--custom-dir', custom_dir], expected_args)

    Parses the long and short custom dir flags.
    
test/core_test.py