• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MagicTheGathering / mtg-sdk-python / 62
95%

Build:
DEFAULT BRANCH: master
Ran 23 May 2019 04:53PM UTC
Jobs 1
Files 10
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
62

push

travis-ci

adback03
Update tests for current api (#28)

* Update test_set.py to match API

1. API does not provide set borders, currently
 - Commented out the assertion checking for borders, w/ explanation

2. API is currently returning 14-card boosters
 - Adjusted expected booster length,
 - Included explanatory comment

3. Addition of Promos sets broke vague name search, made it more specific

* Update test_changelogs.py to reflect API behavior

API is currently returning an empty list for changelogs.
Left the previous test commented because I believe this to be unintended behavior of the API.

* Added Host Supertype

* Added explanatory comment

'Host' among Supertypes seems to be an API error. 
Host is a Type, but gets listed among Supertypes.
This change will need to be reverted when the API is updated.

* Updated to reflect API responses

1. Added New Types:
 - Summon, Card, and You'll added for B.F.M.
 - Emblem added for Planeswalker Emblems

2. Added API-side Errors
 - "Hero" instead of "Host"
 - extra "instant"

* Updated flavor text assertion

Replaced '\n' with ' ' to match current API response at line 36

* Removed MagicCards.Info Code

API doesn't seem to be providing MagicCards.info code, 
probably because they are the same as set codes
Commented out the line in case they return to API

* Updated Foreign Language JSON

The sample card foreign language JSON changed.
Updated the test to match server reply.

* Corrected full type line

Emdash changed to hyphen in API

* Corrected card ID

Card IDs now use a different format and have new IDs

27 of 27 branches covered (100.0%)

129 of 136 relevant lines covered (94.85%)

0.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 62.1 23 May 2019 04:53PM UTC 0
94.85
Travis Job 62.1
Source Files on build 62
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #62
  • d9d12312 on github
  • Prev Build on master (#54)
  • Next Build on master (#65)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc