summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-11-13 23:13:24 +0000
committerDave Hibberd <hibby@debian.org>2024-11-13 23:13:24 +0000
commit49939b3439da13f610be2aff4e40473fa2e2f7b3 (patch)
tree9eb635c60109d010f0186adea6e5028613855aa8 /tests
parenta07fb6c62db75414a4a3b04006f52e0efb0c450c (diff)
New upstream version 20241108upstream/20241108
Diffstat (limited to 'tests')
-rw-r--r--tests/__pycache__/test_banks.cpython-310-pytest-7.1.3.pycbin3723 -> 3772 bytes
-rw-r--r--tests/test_banks.py4
2 files changed, 4 insertions, 0 deletions
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
--- a/tests/__pycache__/test_banks.cpython-310-pytest-7.1.3.pyc
+++ b/tests/__pycache__/test_banks.cpython-310-pytest-7.1.3.pyc
Binary files 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: