(self, s, get_item, monkeypatch)
| 43 | monkeypatch.undo() |
| 44 | |
| 45 | def test_dav_unicode_href(self, s, get_item, monkeypatch): |
| 46 | if self.dav_server == 'radicale': |
| 47 | pytest.skip('Radicale is unable to deal with unicode hrefs') |
| 48 | |
| 49 | monkeypatch.setattr(s, '_get_href', |
| 50 | lambda item: item.ident + s.fileext) |
| 51 | item = get_item(uid='град сатану' + str(uuid.uuid4())) |
| 52 | href, etag = s.upload(item) |
| 53 | item2, etag2 = s.get(href) |
| 54 | assert_item_equals(item, item2) |
nothing calls this directly
no test coverage detected