diff --git a/tests/storage/test_http_with_singlefile.py b/tests/storage/test_http_with_singlefile.py index 1d05da8..6a36828 100644 --- a/tests/storage/test_http_with_singlefile.py +++ b/tests/storage/test_http_with_singlefile.py @@ -81,17 +81,3 @@ class TestHttpStorage(StorageTests): return {'url': 'http://localhost:123/collection.txt', 'path': self.tmpfile} return inner - - def test_update(self, s, get_item): - '''The original testcase tries to fetch with the old href. But this - storage doesn't have real hrefs, so the href might change if the - underlying UID changes. ''' - - item = get_item() - href, etag = s.upload(item) - assert_item_equals(s.get(href)[0], item) - - new_item = get_item() - s.update(href, new_item, etag) - ((new_href, new_etag),) = s.list() - assert_item_equals(s.get(new_href)[0], new_item) diff --git a/tests/storage/test_singlefile.py b/tests/storage/test_singlefile.py index 0fdaa05..da7a6ed 100644 --- a/tests/storage/test_singlefile.py +++ b/tests/storage/test_singlefile.py @@ -45,17 +45,3 @@ class TestSingleFileStorage(StorageTests): with pytest.raises(IOError): s = self.storage_class(str(tmpdir) + '/foo.ics', create=False) - - def test_update(self, s, get_item): - '''The original testcase tries to fetch with the old href. But this - storage doesn't have real hrefs, so the href might change if the - underlying UID changes. ''' - - item = get_item() - href, etag = s.upload(item) - assert_item_equals(s.get(href)[0], item) - - new_item = get_item() - s.update(href, new_item, etag) - ((new_href, new_etag),) = s.list() - assert_item_equals(s.get(new_href)[0], new_item)