diff libervia/backend/test/test_plugin_misc_radiocol.py @ 4270:0d7bb4df2343

Reformatted code base using black.
author Goffi <goffi@goffi.org>
date Wed, 19 Jun 2024 18:44:57 +0200
parents 4b842c1fb686
children
line wrap: on
line diff
--- a/libervia/backend/test/test_plugin_misc_radiocol.py	Tue Jun 18 12:06:45 2024 +0200
+++ b/libervia/backend/test/test_plugin_misc_radiocol.py	Wed Jun 19 18:44:57 2024 +0200
@@ -169,9 +169,9 @@
         sent = self.host.get_sent_message(0)
         attrs["sender"] = self.plugin_0045.get_nick(0, profile_index)
         radiocol_elt = next(domish.generateElementsNamed(sent.elements(), "radiocol"))
-        preload_elt = next(domish.generateElementsNamed(
-            radiocol_elt.elements(), "preload"
-        ))
+        preload_elt = next(
+            domish.generateElementsNamed(radiocol_elt.elements(), "preload")
+        )
         attrs["timestamp"] = preload_elt["timestamp"]  # we could not guess it...
         content = "<preload xmlns='' %s/>" % " ".join(
             ["%s='%s'" % (attr, attrs[attr]) for attr in attrs]
@@ -347,7 +347,9 @@
                     )
                 elif elt.name == "no_upload":
                     self.host.bridge.expect_call(
-                        "radiocol_no_upload", ROOM_JID.full(), Const.PROFILE[profile_index]
+                        "radiocol_no_upload",
+                        ROOM_JID.full(),
+                        Const.PROFILE[profile_index],
                     )
             sync_data[nick]
             self._room_game_cmd(sent, [])