(self)
| 198 | self.assertEqual(normalize_choices(choices), self.expected) |
| 199 | |
| 200 | def test_iterator(self): |
| 201 | def generator(): |
| 202 | yield "C", _("Club") |
| 203 | yield "D", _("Diamond") |
| 204 | yield "H", _("Heart") |
| 205 | yield "S", _("Spade") |
| 206 | |
| 207 | choices = generator() |
| 208 | self.assertEqual(normalize_choices(choices), self.expected) |
| 209 | |
| 210 | def test_nested_callable(self): |
| 211 | def get_audio_choices(): |
nothing calls this directly
no test coverage detected