def test_python_name_generator():
    itertools.islice(get_python_name_generator('Some name'), 2) == ['some_name', 'some_name_2']
Test python name generator function.
dataset/ETHPy150Open pytest-dev/pytest-bdd/tests/generation/test_generate_missing.py/test_python_name_generator