Skip to content

Commit

Permalink
Looking for json
Browse files Browse the repository at this point in the history
  • Loading branch information
Filienko committed Aug 13, 2024
1 parent 7a4b4b9 commit 9023e03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class TestAuthBlueprint(unittest.TestCase):
def setUp(self):
"""Set up a test Flask app and client"""
self.app = create_app()
self.app = create_app(testing=True)
self.app.config['TESTING'] = True
self.client = self.app.test_client()

Expand All @@ -23,7 +23,6 @@ def test_proxy_request(self, mock_request):
req.method = 'GET'
req.headers = {'Authorization': 'Bearer token'}
req.args = {'param': 'value'}
req.json = None
req.data = None

response = proxy_request(req, 'http://example.com/api')
Expand Down

0 comments on commit 9023e03

Please sign in to comment.