def testTrustAnchorSuspensionByTrustee(looper, anotherTrustee, anotherTrustAnchor): trClient, trWallet = anotherTrustee _, spWallet = anotherTrustAnchor suspendRole(looper, trClient, trWallet, spWallet.defaultId) with pytest.raises(AssertionError): addRole(looper, *anotherTrustAnchor, name=randomString())
def testTrusteeSuspensionByTrustee(looper, trustee, trusteeWallet, anotherTrustee, anotherSteward1): trClient, trWallet = anotherTrustee suspendRole(looper, trustee, trusteeWallet, trWallet.defaultId) _, sWallet = anotherSteward1 with pytest.raises(AssertionError): suspendRole(looper, trClient, trWallet, sWallet.defaultId)
def testStewardSuspensionByTrustee(looper, anotherTrustee, anotherSteward): trClient, trWallet = anotherTrustee _, stWallet = anotherSteward suspendRole(looper, trClient, trWallet, stWallet.defaultId) with pytest.raises(AssertionError): addRole(looper, *anotherSteward, name=randomString(), role=TRUST_ANCHOR)
def testTrusteeSuspensionByTrustee(looper, trustee, trusteeWallet, anotherTrustee): _, trWallet = anotherTrustee suspendRole(looper, trustee, trusteeWallet, trWallet.defaultId)