Commit 95eab563 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Add expectUnknown() helper as it is different than expectNotKnown()

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1973 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 2c7b793a
......@@ -123,11 +123,15 @@ class StorageTests(NEOFunctionalTest):
def __expectPending(self, process):
self.neo.expectStorageState(process.getUUID(), NodeStates.PENDING)
def __expectUnknown(self, process):
self.neo.expectStorageState(process.getUUID(), NodeStates.UNKNOWN)
def __expectUnavailable(self, process):
self.neo.expectStorageState(process.getUUID(),
NodeStates.TEMPORARILY_DOWN)
def __expectNotKnown(self, process):
# /!\ Not Known != Unknown
def expected_storage_not_known(last_try):
storage_list = self.neo.getStorageList()
for storage in storage_list:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment