Skip to content
Snippets Groups Projects
Select Git revision
  • b0933c6b34f5422ddc097a05f7ed6d80579d7e8a
  • main default protected
  • 429_rm_features
  • release/0.12 protected
  • pages protected
  • release/0.11 protected
  • 175_gva_migration
  • i18n
  • v0.12.0 protected
  • v0.11.2 protected
  • v0.11.1 protected
  • v0.11.0 protected
  • v0.11.0rc0 protected
  • v0.10.0 protected
  • v0.10.0rc1 protected
  • v0.10.0rc0 protected
  • v0.3.0 protected
  • v0.8.1 protected
  • v0.9.0 protected
  • v0.9.0rc protected
  • v0.8.0 protected
  • v0.7.6 protected
  • v0.7.5 protected
  • v0.7.4 protected
  • v0.7.3 protected
  • v0.7.2 protected
  • v0.7.1 protected
  • v0.7.0 protected
28 results

test_network_tools.py

Blame
    • Moul's avatar
      b0933c6b
      [ref] #409: Improve endpoint determination code layer · b0933c6b
      Moul authored
      Implement determine_endpoint() to replace Endpoint()
      It handles custom, default g1 and gtest endpoints
      Read custom endpoints from a regex
      Handle host/ipv4 mixup fix with ipaddress
      ipv6 support with brakets
      
      Rename peer to endpoint:
      option --peer/-p −> --endpoint/-ep
      
      import sys and silkaj.constants directly
      
      write tests
      
      Kept the ability of not having click installed
      - #354 The tests are difficult to write
      Actually, I am not sure if this feature is easy use.
      Using Silkaj as lib is kind of difficult since click is
      imported in almost every modules
      b0933c6b
      History
      [ref] #409: Improve endpoint determination code layer
      Moul authored
      Implement determine_endpoint() to replace Endpoint()
      It handles custom, default g1 and gtest endpoints
      Read custom endpoints from a regex
      Handle host/ipv4 mixup fix with ipaddress
      ipv6 support with brakets
      
      Rename peer to endpoint:
      option --peer/-p −> --endpoint/-ep
      
      import sys and silkaj.constants directly
      
      write tests
      
      Kept the ability of not having click installed
      - #354 The tests are difficult to write
      Actually, I am not sure if this feature is easy use.
      Using Silkaj as lib is kind of difficult since click is
      imported in almost every modules
    test_network_tools.py 2.96 KiB