コード例 #1
0
ファイル: test_linux.py プロジェクト: lichinka/ps-client
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
ファイル: test_linux.py プロジェクト: lichinka/ps-client
 def setup (self):
     self.client = PSClientLinux ( )