Example #1
0
 def test_check_disabled(self):  # pylint: disable=R0201
     """Verify the client can check a disabled server."""
     with patch('doorstop.server.client.exists', Mock(return_value=False)):
         client.check()
Example #2
0
 def test_check_disabled(self):  # pylint: disable=R0201
     """Verify the client can check a disabled server."""
     with patch('doorstop.server.client.exists', Mock(return_value=False)):
         client.check()
Example #3
0
 def test_check(self):
     """Verify the client can check a server."""
     with patch('doorstop.server.client.exists', Mock(return_value=True)):
         client.check()
Example #4
0
 def test_check(self):
     """Verify the client can check a server."""
     with patch('doorstop.server.client.exists', Mock(return_value=True)):
         client.check()