Skip to content

Commit

Permalink
Fixup. Format code with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed May 21, 2024
1 parent 8305f89 commit 74367f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pod/live/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,9 @@ def test_attributs(self):
event.id = None
self.assertEqual(event.__str__(), "None")
self.assertEqual(event.get_thumbnail_card(), "/static/img/default-event.svg")
self.assertEqual(event.get_full_url(), "//pod.localhost:8000/live/event/0001-event1/")
self.assertEqual(
event.get_full_url(), "//pod.localhost:8000/live/event/0001-event1/"
)
print(" ---> test_attributs of EventTestCase: OK!")

def test_add_thumbnail(self):
Expand Down
4 changes: 3 additions & 1 deletion pod/main/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
if os.path.exists(path):
_temp = __import__("pod.custom", globals(), locals(), ["settings_local"])
USE_DOCKER = getattr(_temp.settings_local, "USE_DOCKER", True)
ES_URL = getattr(_temp.settings_local, "ES_URL", ["http://elasticsearch.localhost:9200/"])
ES_URL = getattr(
_temp.settings_local, "ES_URL", ["http://elasticsearch.localhost:9200/"]
)
ES_VERSION = getattr(_temp.settings_local, "ES_VERSION", 6)

for application in INSTALLED_APPS:
Expand Down

0 comments on commit 74367f0

Please sign in to comment.