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)
def setup (self): self.client = PSClientLinux ( )