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

MagicTheGathering / mtg-sdk-python / 62 / 1
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 23 May 2019 04:53PM UTC
Files 10
Run time 0s
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

23 May 2019 04:51PM UTC coverage: 94.853% (-2.9%) from 97.794%
62.1

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

Source Files on job 62.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 56
  • Travis Job 62.1
  • d9d12312 on github
  • Prev Job for on master (#54.1)
  • Next Job for on master (#65.1)
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