Trailstone interview question

Explain how broken code could still pass tests with 100% coverage. Explain how generators work in Python and how they are implemented.