]> git.ipfire.org Git - pakfire.git/commitdiff
tests: execute: Actually check the output
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 25 Mar 2025 11:36:12 +0000 (11:36 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 25 Mar 2025 11:36:12 +0000 (11:36 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/python/execute.py

index b8b4bcd5ecd432ecfc7c19b40bd7d2830ea54096..791e397d1bbd07a39efa320fa78ac3794d461f55 100755 (executable)
@@ -102,8 +102,8 @@ class ExecuteTests(tests.TestCase):
 
        def test_execute_input(self):
                def test(input, output=None):
-                       #if output is None:
-                       #       output = input
+                       if output is None:
+                               output = input
 
                        # Pipe the data through the command
                        output = self.pakfire.execute(["/command", "pipe"],