Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Test every call #11

Closed
Girbons opened this issue Oct 18, 2017 · 0 comments
Closed

Test every call #11

Girbons opened this issue Oct 18, 2017 · 0 comments

Comments

@Girbons
Copy link
Owner

Girbons commented Oct 18, 2017

We should add a test for every weapon and vehicle.

you can find the list here

What you should do is:

def test_get_vehicle_airship():
    """
    Test call for airship l30
    """
    response = bf.progression_service.get_vehicle(vehicle='airship l30')
    assert response.status_code == 200

The same should be done for get_weapon.

Girbons pushed a commit that referenced this issue Oct 24, 2017
* Test every weapon and vehicle call

* Add import known weapons for testing

* Add test_vehicle_resolver and test_weapon_resolver

* Convert function names to lower case

* Add name to contributor file

* Uncaught special character —

* Drop all non alpha numeric in function names

* Fuction name should be of lowercase

* Updates
@Girbons Girbons closed this as completed Oct 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant