def test_signs_relayable_if_no_signature(self, private_key): entity = DiasporaComment() entity.validate = Mock() outbound = get_outbound_entity(entity, private_key) assert outbound.signature != ""