Spaces Data

Minimal test - lines (1161, 1166)

path: .spaces[19].spaces[85].metrics.mi.mi_sei
old: 155.52966392385397
new: 149.27570623015305

path: .spaces[19].spaces[85].metrics.mi.mi_visual_studio
old: 75.667389205507
new: 71.82614081290335

path: .spaces[19].spaces[85].metrics.mi.mi_original
old: 129.391235541417
new: 122.82270079006472

path: .spaces[19].spaces[85].metrics.loc.cloc
old: 2.0
new: 4.0

path: .spaces[19].spaces[85].metrics.loc.sloc
old: 4.0
new: 6.0

Code

    def test_client_closes_connection_before_handshake(self, handshake):
        # We have mocked the handshake() method to prevent the client from
        # performing the opening handshake. Force it to close the connection.
        self.client.transport.close()
        # The server should stop properly anyway. It used to hang because the
        # task handling the connection was waiting for the opening handshake.