def test_default_config(self):
    endpoint = BaseEndpoint()
    self.assertFalse(endpoint.catch_errors)
    self.assertTrue(endpoint.available)
    endpoint.catch_errors = True
    self.assertTrue(endpoint.catch_errors)
    endpoint.available = False
    self.assertFalse(endpoint.available)
def test_default_config(self):
    endpoint = BaseEndpoint()
    self.assertFalse(endpoint.catch_errors)
    self.assertTrue(endpoint.available)
    endpoint.catch_errors = True
    self.assertTrue(endpoint.catch_errors)
    endpoint.available = False
    self.assertFalse(endpoint.available)