Coverage for src/meshadmin/cli/test_cli.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.6.12, created at 2025-04-04 09:39 +0200

1import ipaddress 

2 

3from meshadmin.cli.main import get_public_ip 

4 

5 

6def test_get_public_ip(): 

7 public_ip = get_public_ip() 

8 ipaddress.ip_address(public_ip)