test_vdiropenapi

Module Contents

Classes

Test_vdir_openapi

see: https://github.com/cloudmesh/cloudmesh-common/blob/main/cloudmesh/common/run/background.py

class test_vdiropenapi.Test_vdir_openapi

see: https://github.com/cloudmesh/cloudmesh-common/blob/main/cloudmesh/common/run/background.py the code in the link has not bean tested make this s function execute the server in the back ground not in a terminal, get the pid and kill it after the test is done UNAME := $(shell uname) ifeq ($(UNAME), Darwin) define terminal

osascript -e ‘tell application “Terminal” to do script “cd $(PWD); $1”’

endef endif ifeq ($(UNAME), Linux) define terminal

gnome-terminal –command ‘bash -c “cd $(PWD); $1”’

endef endif

create_file(self, location, content)
test_setup(self)
test_install(self)
test_create_source(self)
test_vdir_openapi_mkdir(self)
test_vdir_openapi_ls(self)
test_vdir_openapi_cd(self)
test_vdir_openapi_add(self)
test_vdir_openapi_status(self)
test_vdir_openapi_get(self)
test_vdir_openapi_delete(self)