Sha256: b4e7b6e4e13bbf0b9e2c694fe37c510114a591b7b091438fa3d8897f5db47bcb
Contents?: true
Size: 634 Bytes
Versions: 16
Compression:
Stored size: 634 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
16 entries across 16 versions & 1 rubygems