Fixed tests/test_app.py
This commit is contained in:
@@ -15,7 +15,7 @@ class FlaskTestCase(unittest.TestCase):
|
|||||||
"""Check health endpoint."""
|
"""Check health endpoint."""
|
||||||
response = self.app.get('/health')
|
response = self.app.get('/health')
|
||||||
self.assertEqual(response.status_code, 200)
|
self.assertEqual(response.status_code, 200)
|
||||||
self.assertEqual(response.data, b'healthy')
|
self.assertEqual(response.data, b'Works normally')
|
||||||
|
|
||||||
@patch("proxy.rss_proxy.requests.get")
|
@patch("proxy.rss_proxy.requests.get")
|
||||||
def test_proxy_success(self, mock_get):
|
def test_proxy_success(self, mock_get):
|
||||||
|
|||||||
Reference in New Issue
Block a user