Coder Social home page Coder Social logo

Comments (1)

macsnoeren avatar macsnoeren commented on July 18, 2024

The issue has been solved by changing the class Node to reuse the port. Furthermore, the port 800x has been changed to 1000x. See the comments in the repo for more information. The following output was generated on a Unix machine running Debian:

$ python setup.py test
running test
Searching for nose
Best match: nose 1.3.7
Processing nose-1.3.7-py3.7.egg

Using /home/maurice/projects/python-p2p-network/.eggs/nose-1.3.7-py3.7.egg
running egg_info
writing p2pnetwork.egg-info/PKG-INFO
writing dependency_links to p2pnetwork.egg-info/dependency_links.txt
writing top-level names to p2pnetwork.egg-info/top_level.txt
reading manifest file 'p2pnetwork.egg-info/SOURCES.txt'
writing manifest file 'p2pnetwork.egg-info/SOURCES.txt'
running build_ext
test_extending_class_of_node (p2pnetwork.tests.test_node.TestNode)
Testing the class implementation of the Node. ... ok
test_node_communication (p2pnetwork.tests.test_node.TestNode)
Test whether the connected nodes are able to send messages to each other. ... ok
test_node_complete (p2pnetwork.tests.test_node.TestNode)
Testing the complete sequence of the Node based on Samuel complete_test.py. ... ok
test_node_connection (p2pnetwork.tests.test_node.TestNode)
Testing whether two Node instances are able to connect with each other. ... ok
test_node_events (p2pnetwork.tests.test_node.TestNode)
Testing the events that are triggered by the Node. ... ok
test_node_send_data_dict (p2pnetwork.tests.test_nodeconnection.TestNode)
Testing whether NodeConnections handle sending dict well enough. ... ok
test_node_send_data_str (p2pnetwork.tests.test_nodeconnection.TestNode)
Testing whether NodeConnections handle sending str well enough. ... ok

----------------------------------------------------------------------
Ran 7 tests in 138.308s

OK

from python-p2p-network.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.