Commit graph

4 commits

Author SHA1 Message Date
tobi-wan-kenobi
3aadab5628 [modules/publicip] handle missing public ip more gracefully
If location does not throw, but reports an empty public IP, return
"n/a".

Since this caused a bug, also add a test for it.

fixes #853
2022-02-14 14:58:01 +01:00
Thaynã Moretti
e7b853c667 Remove useless mock side effect 2020-09-02 22:16:58 -03:00
Thaynã Moretti
710a2cef98 Create uptime and public ip tests 2020-09-02 22:10:09 -03:00
tobi-wan-kenobi
548ccc5e94 [tests] add somewhat experimental import-time tests
add auto-generated tests that check that a given module can be imported,
if all prerequisites are followed.

see #641
2020-07-20 13:58:24 +02:00