eyalFischel / maakaf-stats

A service to collect Maakaf's stats from Discord, LinkedIn, and Git for better understanding.
MIT License
6 stars 0 forks source link

Git api #14

Closed mario99logic closed 3 months ago

mario99logic commented 3 months ago

Updated GitHub API scripts

eyalFischel commented 3 months ago

Let's use this practice to use Pytest. Create for me 3 tests :

  1. The user you inserted is invalid
  2. The token you inserted is invalid
  3. The repo you inserted is invalid Create a "test" folder with the test_repo.py file.
    • The script should return the correct errors, if you insert a couple of users (while one is correct and one is wrong, you should get back one good response and one error response while not crashing the entire process)