Work In Progress
This repository contains API tests for GameBanana
Target API version: 11
GameBanana (GB) is the game modding community established in 2001.
Submission (Mod) is a piece of work uploaded to the website.
Model (Record) is a submission of a specific type.
Currently, GB is partially APIfied (see gb-api-v11 on GitHub or Postman).
Being a member of the Dev-Tester team at GameBanana I would like to automate some basic checks and crontab them.
-
Clone this repository to a local directory
git clone https://github.com/s0nought/gb-api-tests.git ~/gb-api-tests
-
Install required Python modules
cd ~/gb-api-tests pip install -r requirements.txt
Fill in your login and password.
Rename credentials.py.example
to credentials.py
.
.vscode/settings.json
{
"python.analysis.extraPaths": [
"./endpoints",
"./tests_data"
]
}
cd ~/gb-api-tests && pytest