Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Sign In

matrix-org / synapse / 4532

23 Sep 2019 - 19:39 coverage decreased (-49.7%) to 17.596%
4532

Pull #6079

buildkite

Richard van der Hoff
update changelog
Pull Request #6079: Add submit_url response parameter to msisdn /requestToken

359 of 12986 branches covered (2.76%)

Branch coverage included in aggregate %.

0 of 7 new or added lines in 1 file covered. (0.0%)

18869 existing lines in 281 files now uncovered.

8809 of 39116 relevant lines covered (22.52%)

0.23 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

46.15
/synapse/replication/http/__init__.py
1
# -*- coding: utf-8 -*-
2
# Copyright 2018 New Vector Ltd
3
#
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
# you may not use this file except in compliance with the License.
6
# You may obtain a copy of the License at
7
#
8
#     http://www.apache.org/licenses/LICENSE-2.0
9
#
10
# Unless required by applicable law or agreed to in writing, software
11
# distributed under the License is distributed on an "AS IS" BASIS,
12
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
# See the License for the specific language governing permissions and
14
# limitations under the License.
15

16
from synapse.http.server import JsonResource
1×
17
from synapse.replication.http import federation, login, membership, register, send_event
1×
18

19
REPLICATION_PREFIX = "/_synapse/replication"
1×
20

21

22
class ReplicationRestResource(JsonResource):
1×
23
    def __init__(self, hs):
1×
UNCOV
24
        JsonResource.__init__(self, hs, canonical_json=False)
!
UNCOV
25
        self.register_servlets(hs)
!
26

27
    def register_servlets(self, hs):
1×
UNCOV
28
        send_event.register_servlets(hs, self)
!
UNCOV
29
        membership.register_servlets(hs, self)
!
UNCOV
30
        federation.register_servlets(hs, self)
!
UNCOV
31
        login.register_servlets(hs, self)
!
UNCOV
32
        register.register_servlets(hs, self)
!
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
BLOG · TWITTER · Legal & Privacy · Supported CI Services · What's a CI service? · Automated Testing

© 2019 Coveralls, LLC