def test_cms_info(self): cmd = "cms info" result = run(cmd) print(result) assert "cloudmesh.common" in result assert "cloudmesh.cloud" in result assert "cloudmesh.storage" in result
def test_cms_version(self): cmd = "cms version" result = run(cmd) print(result) assert "cloudmesh.common" in result assert "cloudmesh.cloud" in result assert "cloudmesh.storage" in result
def test_cms_vm(self): cmd = "cms help" Benchmark.Start() result = run(cmd) Benchmark.Stop() print(result) assert "vm" in result
def test_cms_help(self): cmd = "cms help" result = run(cmd) print(result) assert "quit" in result assert "storage" in result assert "vm" in result
def test_cms_info(self): cmd = "cms info" Benchmark.Start() result = run(cmd) Benchmark.Stop() print(result) assert "cloudmesh.common" in result
def test_install_cloud(self): cmd = "cd tmp; cloudmesh-installer install cloud -e" Benchmark.Start() result = run(cmd) Benchmark.Stop() print(result) assert os.path.isdir("tmp/cloudmesh-cloud/cloudmesh_cloud.egg-info")
def test_clone_cloud(self): cmd = "cd tmp; cloudmesh-installer git clone cloud" Benchmark.Start() result = run(cmd) Benchmark.Stop() print(result) assert os.path.isdir("tmp/cloudmesh-cmd5")
def test_info(self): cmd = "cloudmesh-installer info" Benchmark.Start() result = run(cmd) Benchmark.Stop() print(result) assert "Package" in str(result)
def test_install_cms(self): cmd = "cd tmp; cloudmesh-installer install storage -e" result = run(cmd) print(result) assert os.path.isdir("tmp/cloudmesh-cmd5/cloudmesh_cmd5.egg-info") assert os.path.isdir("tmp/cloudmesh-cloud/cloudmesh_cloud.egg-info") assert os.path.isdir( "tmp/cloudmesh-storage/cloudmesh_storage.egg-info")
def test_cms_help(self): HEADING() cmd = "cms help" Benchmark.Start() result = run(cmd) Benchmark.Stop() print(result) assert "quit" in result
def test_install_cms(self): HEADING() cmd = "cd tmp; cloudmesh-installer install cms -e" Benchmark.Start() result = run(cmd) Benchmark.Stop() print(result) assert os.path.isdir("tmp/cloudmesh-cmd5/cloudmesh_cmd5.egg-info")
def test_cms_version(self): HEADING() cmd = "cms version" Benchmark.Start() result = run(cmd) Benchmark.Stop() print(result) assert "cloudmesh.common" in result
def test_clone_cloud(self): cmd = "cd tmp; cloudmesh-installer git clone storage" result = run(cmd) print(result) assert os.path.isdir("tmp/cloudmesh-cmd5")
def test_info(self): cmd = "cloudmesh-installer info" result = run(cmd) print(result) assert "Package" in str(result)
def test_cms_info_cloud(self): cmd = "cms info" result = run(cmd) print(result) assert "cloudmesh.cloud" in result