]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
chore: Use variable `rets` 16454/head
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Fri, 7 Nov 2025 16:04:49 +0000 (11:04 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Fri, 7 Nov 2025 17:11:48 +0000 (12:11 -0500)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
regression-tests.auth-py/test_IXFR.py

index df6c890f4418566eb45706d1e245f162d40d6a8f..9f353a39367fce6bc11ec6a15245401e3dd003fc 100644 (file)
@@ -231,4 +231,4 @@ newrecord.example.        8484    A       192.0.2.42
                            'list-zone', 'example'], stderr=subprocess.STDOUT)
         rets = ret.split(b'\n')
 
-        self.assertEqual(1, sum(b'SOA' in l for l in ret.split(b'\n')))
+        self.assertEqual(1, sum(b'SOA' in l for l in rets))