From 66c6f31c8bead0f9a268cb6977940ab751500a9f Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Sat, 30 Apr 2016 18:49:43 +0200 Subject: [PATCH] Remove test of deprecated code See a1532f36f67a2e99e9f8d8c7e0117efaac734e9c --- tests/cli/test_sync.py | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/tests/cli/test_sync.py b/tests/cli/test_sync.py index 88883f3..ae00f6d 100644 --- a/tests/cli/test_sync.py +++ b/tests/cli/test_sync.py @@ -131,27 +131,6 @@ def test_verbosity(tmpdir, runner): assert 'invalid value for "--verbosity"' in result.output.lower() -def test_deprecated_item_status(tmpdir): - f = tmpdir.join('mypair.items') - f.write(dedent(''' - ["ident", ["href_a", "etag_a", "href_b", "etag_b"]] - ["ident_two", ["href_a", "etag_a", "href_b", "etag_b"]] - ''').strip()) - - data = { - 'ident': ['href_a', 'etag_a', 'href_b', 'etag_b'], - 'ident_two': ['href_a', 'etag_a', 'href_b', 'etag_b'] - } - - assert cli.utils.load_status( - str(tmpdir), 'mypair', data_type='items') == data - - cli.utils.save_status( - str(tmpdir), 'mypair', data_type='items', data=data) - assert cli.utils.load_status( - str(tmpdir), 'mypair', data_type='items') == data - - def test_collections_cache_invalidation(tmpdir, runner): foo = tmpdir.mkdir('foo') bar = tmpdir.mkdir('bar')