Commit 5fcebc56 authored by ale's avatar ale
Browse files

Remove unused code

parent 35e5688b
Pipeline #7530 passed with stages
in 2 minutes and 7 seconds
import contextlib
import mechanicalsoup
import requests
from urllib.parse import urlparse
from ai_diagnostics.adapters import ForcedIPHTTPSAdapter, LoggingHTTPAdapter
......@@ -84,17 +83,3 @@ def open_url(ctx, browser, url):
ctx.log('login successful')
return resp
if __name__ == '__main__':
userinfo = {
#'username': 'ale-test-42@anche.no',
#'password': '1skIPK9m0/N!j5cW',
'username': 'uno@investici.org',
'password': 'pm7q4fyncnw6nb7bZ',
}
browser = make_browser({})
open_url(browser, 'https://www.incal.net/', userinfo)
open_url(browser, 'https://accounts.autistici.org/', userinfo)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment