mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-15 16:21:00 -05:00
Add a test for TreeCache.__contains__
This commit is contained in:
parent
5c79ef9396
commit
7641a90c34
2 changed files with 9 additions and 0 deletions
|
|
@ -61,6 +61,9 @@ class CounterMetricTestCase(unittest.TestCase):
|
|||
'vector{method="PUT"} 1',
|
||||
])
|
||||
|
||||
# Check that passing too few values errors
|
||||
self.assertRaises(ValueError, counter.inc)
|
||||
|
||||
|
||||
class CallbackMetricTestCase(unittest.TestCase):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue