diff options
author | Jorik Schellekens <joriksch@gmail.com> | 2019-07-24 13:07:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-24 13:07:35 +0100 |
commit | cf2972c818344214244961e6175f559a6b59123b (patch) | |
tree | d1a3c4b3a2f2b3e3b1dfcbea88cdf5be75c199ef /tests/utils.py | |
parent | Make changelog slightly more readable (diff) | |
download | synapse-cf2972c818344214244961e6175f559a6b59123b.tar.xz |
Fix servlet metric names (#5734)
* Fix servlet metric names Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> * Remove redundant check * Cover all return paths
Diffstat (limited to '')
-rw-r--r-- | tests/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils.py b/tests/utils.py index 8a94ce0b47..99a3deae21 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -471,7 +471,7 @@ class MockHttpResource(HttpServer): raise KeyError("No event can handle %s" % path) - def register_paths(self, method, path_patterns, callback): + def register_paths(self, method, path_patterns, callback, servlet_name): for path_pattern in path_patterns: self.callbacks.append((method, path_pattern, callback)) |