Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 12, 2024
1 parent a3542d4 commit 0284a57
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/cores/mega/test_microservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ def test_add_route(self):

def test_health(self):
response = self.client.get("/v1/health_check")
self.assertEqual(response.json(), {'Service Title': 's1', 'Service Description': 'OPEA Microservice Infrastructure'})
self.assertEqual(
response.json(), {"Service Title": "s1", "Service Description": "OPEA Microservice Infrastructure"}
)

def test_conflict_port(self):
self.assertRaises(RuntimeError, MicroService, name="s2", host="0.0.0.0", port=8080, endpoint="/v1/add")
Expand Down

0 comments on commit 0284a57

Please sign in to comment.