test: port get-network-time to Python 3