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

skytreader / alexandria / 48 / 1

Build:
DEFAULT BRANCH: master
Ran 09 Aug 2015 08:14PM UTC
Files 17
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

09 Aug 2015 08:03PM UTC coverage: 90.06% (-0.3%) from 90.323%
48.1

push

travis-ci

skytreader
Trying to test get_or_create but having problems.

The problem is in the creation of objects from factories. In the included test,
a `Genre` is created with the creator field submitted as a username (as opposed
to an ID). This is where the docs conflict.

The docs for factory_boy: http://factoryboy.readthedocs.org/en/latest/recipes.html#dependent-objects-foreignkey
and http://factoryboy.readthedocs.org/en/latest/orms.html#sqlalchemy

The id PK is declared among the fields of the factory. However, if I do that in
the present code base, the id will be passed as a parameter to the ORM object
constructors, which causes an error.

The models in this code is patterned after
https://pythonhosted.org/Flask-SQLAlchemy/models.html.

453 of 503 relevant lines covered (90.06%)

0.9 hits per line

Source Files on job 48.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 48
  • Travis Job 48.1
  • 9a458392 on github
  • Prev Job for on master (#47.1)
  • Next Job for on master (#49.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