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

bcwaldon / warlock / 106 / 6
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 02 Nov 2019 09:04PM UTC
Files 4
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

02 Nov 2019 09:02PM UTC coverage: 93.913%. Remained the same
106.6

push

travis-ci

janw
Undo changes to the `warlock.model_factory` API

The changes introduced by commit 64a771d151a5defb9bca82042f ("Allow
resolver to be set on the Model") added a new keyword argument to the
`warlock.model_factory` function. Due to the way Python handles
positional arguments, the change alters the way that existing code is
interpreted.

Before the change,

    warlock.model_factory(schema_arg, snd_pos_arg)

would execute with

    kwargs == {
        'base_class': snd_pos_arg,
        'name': None,
    }

but after the change it's interpreted as

    kwargs == {
        'resolver': snd_pos_arg,
        'base_class'=model.Model,
        'name': None,
    }

This commit re-arranges the arguments to restore the previous behaviour
in an effort to not break existing code.

108 of 115 relevant lines covered (93.91%)

0.94 hits per line

Source Files on job 106.6
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 54
  • Travis Job 106.6
  • 375c7536 on github
  • Prev Job for on master (#105.6)
  • Next Job for on master (#109.6)
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