Exemplo n.º 1
0
def testError_inBins( testData ):
  __provideInput( testData )
  checksToExecute = (
    AMChecks.EqualCheck( fieldName = "{}.statusCode".format( MODULE_NAME ),
                         value     = StatusCode.ERROR_INPUT_PARAMETER ),
  )
  AMTests.testFailedUpdate( MODULE_NAME, checksToExecute )
def testError_inMidsagittalSurface( testData ):
  __provideInput( testData )
  checksToExecute = (
    AMChecks.EqualCheck( fieldName = "{}.statusCode".format( MODULE_NAME ),
                         value     = StatusCode.ERROR_INPUT_OBJECT ),
  )
  AMTests.testFailedUpdate( MODULE_NAME, checksToExecute )
Exemplo n.º 3
0
def testError_inMidsagittalSurface(testData):
    __provideInput(testData)
    checksToExecute = (AMChecks.EqualCheck(
        fieldName="{}.statusCode".format(MODULE_NAME),
        value=StatusCode.ERROR_INPUT_OBJECT), )
    AMTests.testFailedUpdate(MODULE_NAME, checksToExecute)