예제 #1
0
        #u'test_wf_process_instance',
        #u'test_wf_process_instances_delete',
        #u'test_wf_process_single_instance_delete',
        #u'test_wf_get_history_instances',
        #u'test_wf_verify_process_instance_status',

        #----------VARIABLES--------------
        u'test_wf_process_instance_get_variables',
        u'test_wf_process_instance_get_variables_ex',
        #u'test_wf_process_instance_get_single_variable',
        #u'test_wf_process_instance_upload_variable' NOT USED
        #u'test_wf_process_instance_update_variables',
        #u'test_wf_process_instance_set_variable',
        #u'test_wf_process_instance_delete_variable',

        #-------------TASKS---------------
        #u'test_wf_tasks_using_asignee',
        #u'test_wf_tasks_using_process_name',
        #u'test_wf_get_task_id',
        #u'test_wf_get_task_varibles',
        #u'test_wf_complete_task',

        #-------------BATCHS--------------
        #u'test_wf_get_batch'
    ]
    return unittest.TestSuite(map(WorkFlowEngineTestCase, tests))


if __name__ == '__main__':
    run_test([test_suite()])
예제 #2
0
        data = u''
        uri = u'/v1.0/catalog/endpoint/%s/' % (sid)
        res = self.invoke(u'auth', uri, u'DELETE', data=data)


def test_suite():
    tests = [
        'test_login',
        #'test_add_catalog',
        #'test_get_catalogs',
        #'test_get_catalog',
        #'test_get_catalog_by_name',
        #'test_update_catalog',

        #'test_add_endpoint',
        #u'test_get_endpoints',
        #u'test_filter_endpoints',
        #'test_get_endpoint',
        #'test_update_endpoint',
        #'test_delete_endpoint',

        #'test_delete_catalog',
        #'test_logout',
    ]
    #tests = ['test_remove_initial_value', 'test_set_initial_value']
    return unittest.TestSuite(map(CatalogAPITest, tests))


if __name__ == '__main__':
    run_test(test_suite())