Skip to content
Snippets Groups Projects
Commit 6218e563 authored by tuhe's avatar tuhe
Browse files

CICD

parent 6ee67984
Branches
No related tags found
No related merge requests found
Pipeline #8680 failed
No preview for this file type
File added
File added
......@@ -44,8 +44,6 @@ class LearnConfig:
d = date.isoformat()
return d.split(".")[0] + ".000Z"
orgunitId = "8407"
def is_token_valid(self):
response = whoami(self)
......
......@@ -11,6 +11,15 @@ if __name__ == "__main__":
with open(pages + "/index.html", 'w') as f:
f.write("hello world! " + password)
from unlearn.learn_config import LearnConfig
from webdriver_manager.firefox import GeckoDriverManager
from selenium import webdriver
print("opening...")
driver = webdriver.Firefox()
print("getting...")
driver.get("https://google.com")
print("Got it.")
return
lc = LearnConfig(password=password)
print("Is token valid?", lc.is_token_valid())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment