]> git.ipfire.org Git - pakfire.git/commitdiff
tests: python: Don't call depreated unit test function
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 18 Mar 2025 10:39:44 +0000 (10:39 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 18 Mar 2025 10:39:44 +0000 (10:39 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/python/execute.py

index 55be12e93ae8ca884d471f25a687387c57baf338..97bf4b501af276ac6334d951c5794cc88fcf0d46 100755 (executable)
@@ -98,7 +98,7 @@ class ExecuteTests(tests.TestCase):
 
                # Run a command that generates lots of lines
                output = self.pakfire.execute(["/command", "lines", "100", "40"], return_output=True)
-               self.assertEquals(output.count(b"\n"), 100)
+               self.assertEqual(output.count(b"\n"), 100)
 
        def test_execute_input(self):
                def test(input, output=None):