示例#1
0
class Test_PSClientLinux ( ):
    """
    This class tests the methods of the PSClient class.-
    """
    def setup (self):
        self.client = PSClientLinux ( )

    def test_check_state (self):
        """
        Checks all supported states are correctly revised.-
        """
        for s in self.client.accepted_states:
            self.client.check_state (s)
示例#2
0
 def setup (self):
     self.client = PSClientLinux ( )