ksdme / org-status

A tool to check Travis build status of all the repo's under an organisation.
3 stars 6 forks source link

Add tests for code #35

Closed kx-chen closed 5 years ago

kx-chen commented 5 years ago

Add tests for the code up to 50%

Closes https://github.com/ksdme/org-status/issues/30

Coverage is at 51%.

TravisBuddy commented 5 years ago

Travis tests have failed

Hey @kx-chen, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

pytest ``` Collecting coverage (from -r test-requirements.txt (line 2)) Using cached https://files.pythonhosted.org/packages/a4/5c/b3eac6aa7eb4af83c8580d9c1578343910bdcc59e64e3565402f9a527f9c/coverage-4.5.2-cp36-cp36m-manylinux1_x86_64.whl Requirement already satisfied: pluggy<0.7,>=0.5 in /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages (from pytest->-r test-requirements.txt (line 1)) Requirement already satisfied: attrs>=17.2.0 in /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages (from pytest->-r test-requirements.txt (line 1)) Requirement already satisfied: six>=1.10.0 in /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages (from pytest->-r test-requirements.txt (line 1)) Requirement already satisfied: setuptools in /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages (from pytest->-r test-requirements.txt (line 1)) Requirement already satisfied: py>=1.5.0 in /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages (from pytest->-r test-requirements.txt (line 1)) Installing collected packages: coverage Successfully installed coverage-4.5.2 $ pip install -r requirements.txt 4~=4.6.0 in /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages (from IGitt->-r requirements.txt (line 1)) Requirement already satisfied: pytz~=2018.4 in /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages (from IGitt->-r requirements.txt (line 1)) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages (from requests->-r requirements.txt (line 2)) Requirement already satisfied: certifi>=2017.4.17 in /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages (from requests->-r requirements.txt (line 2)) Requirement already satisfied: idna<2.8,>=2.5 in /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages (from requests->-r requirements.txt (line 2)) Requirement already satisfied: urllib3<1.25,>=1.21.1 in /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages (from requests->-r requirements.txt (line 2)) Requirement already satisfied: gitdb2>=2.0.0 in /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages (from GitPython~=2.1.8->IGitt->-r requirements.txt (line 1)) Requirement already satisfied: oauthlib>=0.6.2 in /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages (from requests-oauthlib~=1.0.0->IGitt->-r requirements.txt (line 1)) Requirement already satisfied: asn1crypto>=0.21.0 in /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages (from cryptography<3,>=2.1.4->IGitt->-r requirements.txt (line 1)) Requirement already satisfied: six>=1.4.1 in /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages (from cryptography<3,>=2.1.4->IGitt->-r requirements.txt (line 1)) Requirement already satisfied: cffi!=1.11.3,>=1.7 in /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages (from cryptography<3,>=2.1.4->IGitt->-r requirements.txt (line 1)) Requirement already satisfied: smmap2>=2.0.0 in /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages (from gitdb2>=2.0.0->GitPython~=2.1.8->IGitt->-r requirements.txt (line 1)) Requirement already satisfied: pycparser in /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages (from cffi!=1.11.3,>=1.7->cryptography<3,>=2.1.4->IGitt->-r requirements.txt (line 1)) $ pytest ERROR: /home/travis/build/ksdme/org-status/setup.cfg:5: requires pytest-3.6.1, actual pytest-3.3.0' ```
TravisBuddy Request Identifier: 86b73730-ea44-11e8-b26b-2fe956a0f750
kx-chen commented 5 years ago

Closing to test travis on fork instead.