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

floscha / tinycards-python-api / 268 / 3
81%
master: 81%

Build:
DEFAULT BRANCH: master
Ran 17 Mar 2019 04:42PM UTC
Files 20
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

17 Mar 2019 04:40PM UTC coverage: 88.565% (+0.3%) from 88.223%
268.3

push

travis-ci

floscha
Add support for "advanced" knowledge testing options and TTS options (#57, resolves #50)

* Add ability to disable front/back side of cards for knowledge testing (+test)

* Add ability to disable typing for knowledge testing (+test)

* Add ability to have stricter evaluation of typed answers (+test)

* Add support for text-to-speech (+test)

* Updating a deck should either use lists as-is or JSON-encode (+tests)

... otherwise, updating with options and just images fails with:
```json
{
  "message": "Oops, something went wrong! You may be doing something you shouldn't be :)"
}
```

Indeed, `PATCH`-ing with `content-type: application/json` sends payloads like the following:
```json
{
  "private": false,
  "cards": "[{\"id\":\"...\"}]",
  "ttsLanguages": "[\"en\",\"ja\"]",
  "name": "Test",
  "coverImageUrl": null,
  "blacklistedSideIndices": "[1]",
  "blacklistedQuestionTypes": "[[\"ASSISTED_PRODUCTION\",\"PRODUCTION\"],[\"ASSISTED_PRODUCTION\",\"PRODUCTION\"]]",
  "shareable": false,
  "gradingModes": "[]",
  "description": "Test description",
  "fromLanguage": "en"
}
```
i.e. with all JSON lists converted as JSON strings.

* Please Codacy stylechecker

See also: https://app.codacy.com/app/floscha/tinycards-python-api/pullRequest?prid=3278231
Method could be a function:

```python
    def _path_to(self, filename):
```

426 of 481 relevant lines covered (88.57%)

0.89 hits per line

Source Files on job 268.3
  • Tree
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 139
  • Travis Job 268.3
  • 4dade7a2 on github
  • Prev Job for on master (#266.3)
  • Next Job for on master (#270.3)
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