Sha256: ed28732b1c8edd05f71fea5c86cfbd7ee259cf4160145284cfc957cf2c39fe16
Contents?: true
Size: 572 Bytes
Versions: 1
Compression:
Stored size: 572 Bytes
Contents
class TestHost < Test::Unit::TestCase def test_host # https://docs.openstack.org/api-ref/compute/?expanded=list-flavors-detail,list-flavors-with-details-detail,list-hosts-detail#hosts-os-hosts-deprecated params = { "host_name" => "b6e4adbc193d428ea923899d07fb001e", "service" => "conductor", "zone" => "internal" } host = Yao::Host.new(params) # friendly_attributes assert_equal(host.host_name, "b6e4adbc193d428ea923899d07fb001e") assert_equal(host.service, "conductor") assert_equal(host.zone, "internal") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yao-0.7.0 | test/yao/resources/test_host.rb |