From 49939b3439da13f610be2aff4e40473fa2e2f7b3 Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Wed, 13 Nov 2024 23:13:24 +0000 Subject: New upstream version 20241108 --- .../test_banks.cpython-310-pytest-7.1.3.pyc | Bin 3723 -> 3772 bytes tests/test_banks.py | 4 ++++ 2 files changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/__pycache__/test_banks.cpython-310-pytest-7.1.3.pyc b/tests/__pycache__/test_banks.cpython-310-pytest-7.1.3.pyc index e174c66..2370bb4 100644 Binary files a/tests/__pycache__/test_banks.cpython-310-pytest-7.1.3.pyc and b/tests/__pycache__/test_banks.cpython-310-pytest-7.1.3.pyc differ diff --git a/tests/test_banks.py b/tests/test_banks.py index bc57ef9..3c70572 100644 --- a/tests/test_banks.py +++ b/tests/test_banks.py @@ -48,6 +48,10 @@ class TestCaseBanks(base.DriverTest): model = self.radio.get_bank_model() + if isinstance(model, chirp_common.StaticBankModel): + # Nothing to test with this type + return + # If in your bank model every channel has to be tied to a bank, just # add a variable named channelAlwaysHasBank to it and make it True try: -- cgit v1.2.3