From 5c1d4afd567242c8107a7891ea7019e84d92bd67 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Tue, 4 Aug 2020 16:35:10 +0200 Subject: [PATCH] remove unconsistent test --- tests/test_freeze.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/tests/test_freeze.py b/tests/test_freeze.py index edd2ab0..0bbaa66 100644 --- a/tests/test_freeze.py +++ b/tests/test_freeze.py @@ -187,26 +187,6 @@ async def test_force_store_value(): assert not await list_sessions() -@pytest.mark.asyncio -async def test_force_store_value_leadership_follower(): - b = IntOption('int', 'Test int option', multi=True) - c = StrOption('str', 'Test string option', multi=True, properties=('force_store_value',)) - descr = Leadership("int", "", [b, c]) - with pytest.raises(ConfigError): - cfg = await Config(descr, session_id='error') - await delete_session('error') - assert not await list_sessions() - - -#@pytest.mark.asyncio -#async def test_force_store_value_leadership(): -# b = IntOption('int', 'Test int option', multi=True, properties=('force_store_value',)) -# c = StrOption('str', 'Test string option', multi=True) -# descr = Leadership("int", "", [b, c]) -# cfg = await Config(descr) -# assert await cfg.value.get() == {'int': ('forced', ())} - - @pytest.mark.asyncio async def test_force_store_value_leadership_sub(): b = IntOption('int', 'Test int option', multi=True, properties=('force_store_value',))