def test_parses_examples_dir_correctly():
    """
    Parses the long and short example dir flags.
    """
    examples_dir = 'path/to/examples'
    expected_args = _create_mock_args(examples_dir=examples_dir)

    _helper_parses_correctly(['--examples-dir', examples_dir], expected_args)

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