From 325e680674659b3f717b73a838eca3d081284579 Mon Sep 17 00:00:00 2001 From: Frank Lanitz Date: Mon, 21 Jun 2021 16:06:58 +0200 Subject: [PATCH] Reformat source code --- ki/module.py | 2 +- ki/test/test_skills_endpoint.py | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/ki/module.py b/ki/module.py index da8bc46..79eeb96 100644 --- a/ki/module.py +++ b/ki/module.py @@ -1 +1 @@ -from ki import models, commands, routes # noqa +from ki import models, commands, routes # noqa diff --git a/ki/test/test_skills_endpoint.py b/ki/test/test_skills_endpoint.py index 0603102..80cfae6 100644 --- a/ki/test/test_skills_endpoint.py +++ b/ki/test/test_skills_endpoint.py @@ -22,13 +22,14 @@ class TestSkillsEndpoint(unittest.TestCase): self.assertEqual(response.status_code, 200) self.assertEqual( { - "skills": [ - {"id": 1, "name": "PHP"}, - {"id": 3, "name": "Python"} - ] - }, - response.json - ) + "skills": [{ + "id": 1, + "name": "PHP" + }, { + "id": 3, + "name": "Python" + }] + }, response.json) if __name__ == "main":