# -*- coding: UTF-8 -*- """The site URL server package test $Id$ """ # Copyright 2008-2010 eGovMon # This program is distributed under the terms of the GNU General # Public License. # # This file is part of the eGovernment Monitoring # (eGovMon) # # eGovMon is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # eGovMon is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with eGovMon; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, # MA 02110-1301 USA __author__ = "$Author$" __version__ = "$Revision$" __updated__ = "$LastChangedDate$" import SOAPpy import random import os import sys import unittest import urllib import urlparse import time from sc import SystemConfiguration sc=SystemConfiguration() URLSERVER=urllib.unquote(sc.siteurlserver) """Test suite for the siteURLserver module""" class TestSequenceFunctions(unittest.TestCase): def __init__(self, testcase): unittest.TestCase.__init__(self, testcase) def setUp(self): self.siteurlserver = SOAPpy.SOAPProxy(sc.siteurlserver) def testping(self): self.assert_(self.siteurlserver.ping()) if __name__ == "__main__": unittest.main()