MCPcopy Create free account
hub / github.com/ipython/traitlets / TestTCPAddress

Class TestTCPAddress

tests/test_traitlets.py:1638–1643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1636
1637
1638class TestTCPAddress(TraitTestBase):
1639 obj = TCPAddressTrait()
1640
1641 _default_value = ("127.0.0.1", 0)
1642 _good_values = [("localhost", 0), ("192.168.0.1", 1000), ("www.google.com", 80)]
1643 _bad_values = [(0, 0), ("localhost", 10.0), ("localhost", -1), None]
1644
1645
1646class ListTrait(HasTraits):

Callers

nothing calls this directly

Calls 1

TCPAddressTraitClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…