diff options
| author | Dave Hibberd <hibby@debian.org> | 2025-11-11 22:37:12 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2025-11-11 22:37:12 +0000 |
| commit | 261582ca78b59d466b32f3b5ab0e0e20fd314d26 (patch) | |
| tree | 6266ccd1e01fcedc75aa349f2f7e106d73abe8a1 /tests/test_brute_force.py | |
| parent | dff1a610625ebe7841fca01e20ca6d86b65ee4d0 (diff) | |
New upstream version 20251108upstream/20251108
Diffstat (limited to 'tests/test_brute_force.py')
| -rw-r--r-- | tests/test_brute_force.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_brute_force.py b/tests/test_brute_force.py index f3bd68f..0114868 100644 --- a/tests/test_brute_force.py +++ b/tests/test_brute_force.py @@ -197,11 +197,13 @@ class TestCaseBruteForce(base.DriverTest): lo, hi = self.rf.memory_bounds for i in range(lo, hi + 1): m1 = self.radio.get_memory(i) + if m1.empty: + continue errs, warns = chirp_common.split_validation_msgs( self.radio.validate_memory(m1)) self.assertEqual([], errs, ('Radio has validation errors for memory %i ' - 'stored in sample image') % i) + 'stored in sample image: %s') % (i, m1)) @base.requires_feature('has_nostep_tuning', equal=False) def test_validate_all_steps(self): |
