(self, patch_expand_lang)
| 904 | |
| 905 | @unittest.mock.patch('gettext._expand_lang') |
| 906 | def test_find_with_c(self, patch_expand_lang): |
| 907 | # 'C' is already in languages |
| 908 | self.env.set('LANGUAGE', 'C') |
| 909 | gettext.find('foo') |
| 910 | patch_expand_lang.assert_called_with('C') |
| 911 | |
| 912 | def test_find_all(self): |
| 913 | # test that all are returned when all is set |
nothing calls this directly
no test coverage detected