summaryrefslogtreecommitdiff
path: root/tests/test_brute_force.py
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-02-24 13:47:27 +0000
committerDave Hibberd <hibby@debian.org>2024-02-24 13:47:27 +0000
commitfc438e6a84402e621877f6c30097442af46f122b (patch)
tree7a6ca4af4159368f92d10c6c932c4b5e662715aa /tests/test_brute_force.py
parent99bce70f3ca5cea0eb28f5158cfa00803cf6a19a (diff)
New upstream version 20240224upstream/20240224
Diffstat (limited to 'tests/test_brute_force.py')
-rw-r--r--tests/test_brute_force.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_brute_force.py b/tests/test_brute_force.py
index 0ab09f7..eb5ea9b 100644
--- a/tests/test_brute_force.py
+++ b/tests/test_brute_force.py
@@ -91,8 +91,7 @@ class TestCaseBruteForce(base.DriverTest):
if 'duplex' in m.immutable:
self.skipTest('Test memory has immutable duplex')
for duplex in self.rf.valid_duplexes:
- if duplex not in ["", "-", "+", "split"]:
- continue
+ assert duplex in ["", "-", "+", "split", "off"]
if duplex == 'split':
self.assertTrue(self.rf.can_odd_split,
'Radio supports split but does not set '