Skip to content
Snippets Groups Projects
Commit 7fdbfecf authored by tuhe's avatar tuhe
Browse files

CICD

parent a5718407
No related branches found
No related tags found
No related merge requests found
Pipeline #8674 failed
image: python:3.9-buster
image: ubuntu:latest
before_script:
- apt-get update
- apt install -y xvfb libssl-dev firefox-dev firefox-geckodriver openssl
- apt-get update -y
- apt install -y python3-pip python3.10 python-is-python3
- apt install -y xvfb libssl-dev firefox firefox-geckodriver openssl
- openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes
- pip install -r requirements.txt
......
......@@ -10,4 +10,11 @@ if __name__ == "__main__":
os.mkdir(pages)
with open(pages + "/index.html", 'w') as f:
f.write("hello world! " + password)
from learn_config import LearnConfig
lc = LearnConfig(password=password)
print("Is token valid?", lc.is_token_valid())
print("token", lc.cc['access_token'])
print("refresh", lc.cc['refresh_token'])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment