Sha256: b27d0855905b2bf92fc7ded596a62c01931d7ba5d7060b8c1e7b76e36a3db6f4
Contents?: true
Size: 574 Bytes
Versions: 19
Compression:
Stored size: 574 Bytes
Contents
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../lib/puppettest' require 'puppettest' require 'puppet/network/xmlrpc/server' require 'mocha' class TestXMLRPCServer < Test::Unit::TestCase def setup super assert_nothing_raised do @server = Puppet::Network::XMLRPCServer.new end end def test_initialize assert(@server.get_service_hook, "no service hook defined") assert_nothing_raised("Did not init @loadedhandlers") do assert(! @server.handler_loaded?(:puppetca), "server thinks handlers are loaded") end end end
Version data entries
19 entries across 19 versions & 1 rubygems