blob: 300c94e5dbf8d7798f419c282b28d1b1b1e70706 [file] [log] [blame]
# status.rb
# Test WsmanStatus
require 'test/unit'
require File.join(File.dirname(__FILE__),'_loadpath')
require 'openwsman'
class WsmanTest < Test::Unit::TestCase
def test_status
status = Openwsman::Status.new
assert status
status.code = 42
assert status.code == 42
status.detail = 77
assert status.detail == 77
status.msg = "Hello, openwsman"
assert status.msg == "Hello, openwsman"
end
end