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

floscha / tinycards-python-api / 270
81%

Build:
DEFAULT BRANCH: master
Ran 18 Mar 2019 04:47PM UTC
Jobs 1
Files 20
Run time 2s
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
270

cron

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

Jobs
ID Job ID Ran Files Coverage
3 270.3 18 Mar 2019 04:47PM UTC 0
88.57
Travis Job 270.3
Source Files on build 270
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #270
  • 4dade7a2 on github
  • Prev Build on master (#268)
  • Next Build on master (#271)
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