diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2025-09-12 19:22:00 +0100 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2025-09-24 08:26:11 +0200 |
| commit | 8a44d8c2ac0921c8064fbfd00ef28e3a2588918e (patch) | |
| tree | 11606441f1ddffeaad0a6385070077930e21f796 /tests/functional/arm/test_integratorcp.py | |
| parent | 5383ccf2512f4dc48e6321545f0f946d6bc78aa1 (diff) | |
| download | focaccia-qemu-8a44d8c2ac0921c8064fbfd00ef28e3a2588918e.tar.gz focaccia-qemu-8a44d8c2ac0921c8064fbfd00ef28e3a2588918e.zip | |
tests/functional: use self.log for all logging
Some tests are creating their on logger category which means any output they log is not captured in base.log. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> [thuth: drop changes to reverse_debugging.py (it's WIP in other patches)] Message-ID: <20250912182200.643909-7-berrange@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/functional/arm/test_integratorcp.py')
| -rwxr-xr-x | tests/functional/arm/test_integratorcp.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/functional/arm/test_integratorcp.py b/tests/functional/arm/test_integratorcp.py index 4f00924aa0..23ae919359 100755 --- a/tests/functional/arm/test_integratorcp.py +++ b/tests/functional/arm/test_integratorcp.py @@ -77,7 +77,6 @@ class IntegratorMachine(QemuSystemTest): command_line='screendump %s' % screendump_path) if 'unknown command' in res: self.skipTest('screendump not available') - logger = logging.getLogger('framebuffer') cpu_count = 1 match_threshold = 0.92 @@ -88,7 +87,7 @@ class IntegratorMachine(QemuSystemTest): loc = np.where(result >= match_threshold) tux_count = 0 for tux_count, pt in enumerate(zip(*loc[::-1]), start=1): - logger.debug('found Tux at position [x, y] = %s', pt) + self.log.debug('found Tux at position [x, y] = %s', pt) self.assertGreaterEqual(tux_count, cpu_count) if __name__ == '__main__': |