def test_unicode_fails_with_wrong_configured_basepath(self): with override_settings(TMP_PATH=unicode(settings.TMP_PATH)): file_viewer = FileViewer(self.file) file_viewer.src = unicode_filenames with pytest.raises(UnicodeDecodeError): file_viewer.extract()
def test_unicode_fails_with_wrong_configured_basepath(self): file_viewer = FileViewer(self.file) file_viewer.src = unicode_filenames with pytest.raises(UnicodeDecodeError): file_viewer.extract()
def test_unicode_fails_with_wrong_configured_basepath(self): file_viewer = FileViewer(self.file) file_viewer.src = unicode_filenames with pytest.raises(UnicodeDecodeError): file_viewer.extract()