gh-105540: Convert pytest tests of cases_generator to regular tests
#106713
+218
−163
pytest tests of cases_generator to regular tests
#106713