Skip to content
Snippets Groups Projects
Commit 2625bced authored by Julien David's avatar Julien David
Browse files

Merge branch 'master' into 'WIP---ADDING-Tests-and-JSON-FUNCTIONS'

# Conflicts:
#   client.py
parents 45f7973c 575aabac
No related branches found
No related tags found
1 merge request!5Wip adding tests and json functions
Pipeline #662 failed with stage
in 13 seconds
image: alpine
stages:
- test
job:test:unit:
before_script:
- echo "Install Dependancies"
- sed -i 's/http\:\/\/dl-cdn.alpinelinux.org/https\:\/\/alpine.global.ssl.fastly.net/g' /etc/apk/repositories
- apk update
- apk add python3
- apk add py-pip
- pip install pytest mysql-connector-python get_docker_secret docker flake8
- echo "Start Tests"
script:
- cd tests
- pytest -v
- cd ..
- flake8 --max-line-length=120 client.py
after_script:
- echo "Tests have been done"
import pytest
import requests
def test_stupid():
assert True != False
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