(self, patch_expand_lang)
| 898 | |
| 899 | @unittest.mock.patch('gettext._expand_lang') |
| 900 | def test_find_with_no_lang(self, patch_expand_lang): |
| 901 | # no language can be found |
| 902 | gettext.find('foo') |
| 903 | patch_expand_lang.assert_called_with('C') |
| 904 | |
| 905 | @unittest.mock.patch('gettext._expand_lang') |
| 906 | def test_find_with_c(self, patch_expand_lang): |
nothing calls this directly
no test coverage detected