(cls)
| 440 | |
| 441 | @classmethod |
| 442 | def unicode_file(cls): |
| 443 | filename = ntou('Слава Україні.html', 'utf-8') |
| 444 | filepath = curdir / 'static' / filename |
| 445 | with filepath.open('w', encoding='utf-8')as strm: |
| 446 | strm.write(ntou('Героям Слава!', 'utf-8')) |
| 447 | cls.files_to_remove.append(filepath) |
| 448 | |
| 449 | def test_unicode(self): |
| 450 | ensure_unicode_filesystem() |
no test coverage detected