Added test condition for VM sizes.

This commit is contained in:
yueguoguo 2017-06-21 13:05:50 +08:00
Родитель 4341bac35e
Коммит 1326110927
1 изменённых файлов: 7 добавлений и 2 удалений

Просмотреть файл

@ -48,13 +48,18 @@ dsvm_name <- paste0("dsvm",
dsvm_password <- "AzureDSVM_test123"
dsvm_username <- "dsvmuser"
test_that("Get VM sizes"{
test_that("Get VM sizes", {
skip_if_missing_config(settingsfile)
res <- getVMSizes(asc,
location=location)
expect_is(res, class="data.frame")
expect_equal(names(res), c("VM Size",
"Number of cores",
"Disk size (GB)",
"RAM size (GB)",
"Max number of disks"))
})
test_that("Deploy a CentOS DSVM", {