diff tests/test_cmdline_util.py @ 331:9741b52f194a

Reformat code and documentation
author Amine Sehili <amine.sehili@gmail.com>
date Thu, 24 Oct 2019 20:49:51 +0200
parents 9907db0843cb
children 9f17aa9a4018
line wrap: on
line diff
--- a/tests/test_cmdline_util.py	Wed Oct 23 21:24:33 2019 +0100
+++ b/tests/test_cmdline_util.py	Thu Oct 24 20:49:51 2019 +0200
@@ -75,7 +75,15 @@
         record_plot=(None, None, True, None, None, None, True),
         record_save_image=(None, None, False, "image.png", None, None, True),
         int_use_channel=("stream.ogg", None, False, None, "1", 1, False),
-        save_detections_as=("stream.ogg", "{id}.wav", False, None, None, None, False)
+        save_detections_as=(
+            "stream.ogg",
+            "{id}.wav",
+            False,
+            None,
+            None,
+            None,
+            False,
+        ),
     )
     def test_make_kwargs(
         self,
@@ -112,7 +120,15 @@
             False,
             55,
         )
-        misc = (False, False, None, True, None, "TIME_FORMAT", "TIMESTAMP_FORMAT")
+        misc = (
+            False,
+            False,
+            None,
+            True,
+            None,
+            "TIME_FORMAT",
+            "TIMESTAMP_FORMAT",
+        )
         args_ns = _ArgsNamespece(*(args + misc))
 
         io_kwargs = {