57950b9 Move test skipping to class setup

3 files Authored by pviktori 11 years ago, Committed by rcritten 11 years ago,
    Move test skipping to class setup
    
    Currently, each DNS test case first checks if DNS is configured
    by creating and deleting a test zone. This takes quite a lot of time.
    
    This patch moves the check to the setUpClass method, so the check is
    only done once for all the tests.
    
    Similarly, if the server is not available, entire XMLRPC test classes
    are now skipped.
    
    Additionally, CLItests that hit the server are skipped if the server
    isn't available.