示例#1
0
def to_be_composed_out_of():
    resource('ska_low/tm_subarray_node/1').assert_attribute('State').equals(
        'ON')
    resource('ska_low/tm_subarray_node/1').assert_attribute('obsState').equals(
        'EMPTY')
    assign_resources_file = 'resources/test_data/OET_integration/mccs_assign_resources.json'
    subarray = SubArray(1)
    LOGGER.info('Subarray has been created.')
    subarray.allocate_from_file(cdm_file=assign_resources_file,
                                with_processing=False)
    LOGGER.info('Invoked AssignResources on CentralNodeLow')
示例#2
0
def to_be_composed_out_of():
    resource("ska_low/tm_subarray_node/1").assert_attribute("State").equals(
        "ON")
    resource("ska_low/tm_subarray_node/1").assert_attribute("obsState").equals(
        "EMPTY")
    assign_resources_file = (
        "resources/test_data/OET_integration/mccs_assign_resources.json")
    subarray = SubArray(1)
    LOGGER.info("Subarray has been created.")
    subarray.allocate_from_file(cdm_file=assign_resources_file,
                                with_processing=False)
    LOGGER.info("Invoked AssignResources on CentralNodeLow")