remove unconsistent test
This commit is contained in:
parent
c4572ec409
commit
5c1d4afd56
@ -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',))
|
||||
|
Loading…
Reference in New Issue
Block a user