This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HOW TO - Running Mocha with Chai, unit test files and examples | |
Install Node: | |
- "sudo apt-get install npm" to install npm package manager | |
- "sudo apt-get install uuid-dev" to install dependencies for building node/qminer | |
- clone "link to be added" Node repository from GitHub | |
- cd to root directory and run commands "./configure", "make", "make install" | |
- cd to /test/addons/la | |
- install node-gyp with "sudo npm install -g node-gyp" | |
- build qminer with command "node-gyp configure build" | |
- follow instructions below to install test framework |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pip install requests | |
import re | |
import requests | |
UCILNICA_LOGIN_URL = 'https://ucilnica.fri.uni-lj.si/login/index.php' | |
UCILNICA_LOGGEDIN_URL = 'https://ucilnica.fri.uni-lj.si/' | |
def ucilnica_login(username, password): | |
"""Check login for FRI ucilnica |