diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-02-22 15:22:38 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-02-22 15:22:38 +0000 |
commit | 7641a90c34c07621e813b1aa7060114074f2741b (patch) | |
tree | cd739eaca0cf219e39538ee8ac2c8aa66717fa22 /tests/metrics | |
parent | Test Filter.filter_rooms (diff) | |
download | synapse-7641a90c34c07621e813b1aa7060114074f2741b.tar.xz |
Add a test for TreeCache.__contains__
Diffstat (limited to 'tests/metrics')
-rw-r--r-- | tests/metrics/test_metric.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/metrics/test_metric.py b/tests/metrics/test_metric.py index f9e5e5af01..f3c1927ce1 100644 --- a/tests/metrics/test_metric.py +++ b/tests/metrics/test_metric.py @@ -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): |