📅  最后修改于: 2022-03-11 14:45:06.623000             🧑  作者: Mango
# test_internet.py
def test_your_unconnectable_situation(disable_network):
response = request.get('http://stackoverflow.com/')
response.status_code == 400