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

skytreader / alexandria / 48

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

pending completion
48

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

Jobs
ID Job ID Ran Files Coverage
1 48.1 09 Aug 2015 08:14PM UTC 0
90.06
Travis Job 48.1
Source Files on build 48
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #48
  • 9a458392 on github
  • Prev Build on master (#47)
  • Next Build on master (#49)
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