def step_impl(context, enrollId, msg): assert 'users' in context, "users not found in context. Did you register a user?" assert 'compose_containers' in context, "compose_containers not found in context" txResult = bdd_test_util.getTxResult(context, enrollId) assert txResult.errorCode > 0, "Expected failure (errorCode > 0), instead found errorCode={0}".format( txResult.errorCode) assert msg in txResult.error, "Expected error to contain'{0}', instead found '{1}".format( msg, txResult.error)
def step_impl(context, enrollId): txResult = bdd_test_util.getTxResult(context, enrollId) assert txResult.errorCode == 0, "Expected success (errorCode == 0), instead found errorCode={0}, error={1}".format(txResult.errorCode, txResult.error)
def step_impl(context, enrollId, msg): assert 'users' in context, "users not found in context. Did you register a user?" assert 'compose_containers' in context, "compose_containers not found in context" txResult = bdd_test_util.getTxResult(context, enrollId) assert txResult.errorCode > 0, "Expected failure (errorCode > 0), instead found errorCode={0}".format(txResult.errorCode) assert msg in txResult.error, "Expected error to contain'{0}', instead found '{1}".format(msg, txResult.error)
def step_impl(context, enrollId): txResult = bdd_test_util.getTxResult(context, enrollId) assert txResult.errorCode == 0, "Expected success (errorCode == 0), instead found errorCode={0}, error={1}".format( txResult.errorCode, txResult.error)