Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def test_methoder(self):
- requests.get("http://google.com")
- assert 1 == 2
- def test_methoder(self, caplog):
- caplog.set_level(logging.WARNING, logger='urllib3')
- requests.get("http://google.com")
- assert 1 == 2
Add Comment
Please, Sign In to add comment