Beispiel #1
0
def given_space_created(_context):
    global spaceID
    spaceID = helpers.getSpaceID()
    spaceID | should_not.be_none().desc("Space ID")

    global lb
    lb = LaunchBooster()
def given_space_created(_context):
    global spaceID
    spaceID = helpers.getSpaceID()
    spaceID | should_not.be_none().desc("Space ID exists.")

    global ib
    ib = ImportBooster()
Beispiel #3
0
def then_workspace_created(_context):
    workspaceID = helpers.getWorkspaceID()
    try:
        workspaceID | should_not.be_none().desc(
            "Workspace is created. Workspace ID is set.")
    except AssertionError as e:
        helpers.gather_pod_logs(_context, "che")
        raise e
Beispiel #4
0
def when_send_manifest(context):

    sa = StackAnalyses()

    codebaseUrl = sa.getCodebaseUrl()
    stackAnalysesKey = sa.getReportKey(codebaseUrl)
    helpers.setStackReportKey(stackAnalysesKey)
    stackAnalysesKey | should_not.be_none().desc("Obtained Stack Analyses key")
    context.sa = sa
Beispiel #5
0
def then_receive_stack_json(context):
    stackAnalysesKey = helpers.getStackReportKey()
    reportText = context.sa.getStackReport(stackAnalysesKey)
    reportText | should_not.be_none().desc("Obtained Stack Analyses Report")
    reportText | should_not.contain_the_substring("error").desc(
        "Stack Analyses Report contains 'error'")
Beispiel #6
0
def then_receive_stack_json(context):
    stackAnalysesKey = helpers.getStackReportKey()
    reportText = context.sa.getStackReport(stackAnalysesKey)
    reportText | should_not.be_none().desc("Obtained Stack Analyses Report")
def given_space_created(_context):
    _context.spaceID = helpers.getSpaceID()
    _context.spaceID | should_not.be_none().desc("Space ID exists.")

    _context.ib = ImportBooster()
Beispiel #8
0
def then_space_created(_context):
    spaceID = helpers.getSpaceID()
    spaceID | should_not.be_none().desc("Space created. Space ID is set.")
Beispiel #9
0
def then_space_created(_context):
    spaceID = helpers.getSpaceID()
    spaceID | should_not.be_none().desc("Created space ID")