summaryrefslogtreecommitdiff
path: root/tests/unit/test_repeaterbook.py
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-02-27 20:48:04 +0000
committerDave Hibberd <hibby@debian.org>2025-02-27 20:48:04 +0000
commitc3da928780ee3025b380cbaf536d79d29d77606a (patch)
tree32d46db09290bd0f2d5e3d050b27e9f6656a8463 /tests/unit/test_repeaterbook.py
parent03708fb51a1b7f28fc2dd2f55d40e44003b8d90a (diff)
parentf6b2e6e7159906b8b3204dca3a9e58e42c36ccbb (diff)
Update upstream source from tag 'upstream/20250221'
Update to upstream version '20250221' with Debian dir 7954287a4b4113b0b031dad53aacb7a1c4bdccd7
Diffstat (limited to 'tests/unit/test_repeaterbook.py')
-rw-r--r--tests/unit/test_repeaterbook.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit/test_repeaterbook.py b/tests/unit/test_repeaterbook.py
index 8a0b059..57532fa 100644
--- a/tests/unit/test_repeaterbook.py
+++ b/tests/unit/test_repeaterbook.py
@@ -43,6 +43,7 @@ class TestRepeaterbook(unittest.TestCase):
'lon': coords[1],
'dist': 100,
'openonly': False,
+ 'cached': False,
})
m = rb.get_memory(0)
self.assertIsInstance(m, chirp_common.Memory)
@@ -81,6 +82,7 @@ class TestRepeaterbook(unittest.TestCase):
'dist': 100,
'service': 'gmrs',
'openonly': False,
+ 'cached': False,
})
m = rb.get_memory(0)
self.assertIsInstance(m, chirp_common.Memory)
@@ -102,6 +104,7 @@ class TestRepeaterbook(unittest.TestCase):
'lon': 133,
'dist': 20000,
'openonly': False,
+ 'cached': False,
})
m = rb.get_memory(0)
self.assertIsInstance(m, chirp_common.Memory)
@@ -122,6 +125,7 @@ class TestRepeaterbook(unittest.TestCase):
'lon': -122,
'dist': 0,
'openonly': False,
+ 'cached': False,
'filter': 'tower'}
rb = self._test_with_mocked(params)
self.assertGreater(sum(rb.get_features().memory_bounds), 5)
@@ -133,6 +137,7 @@ class TestRepeaterbook(unittest.TestCase):
'lon': -122,
'dist': 0,
'openonly': False,
+ 'cached': False,
'filter': 'tower'}
rb1 = self._test_with_mocked(dict(params))
self.assertGreater(sum(rb1.get_features().memory_bounds), 5)