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

wemake-services / django-test-migrations / 118 / 15
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: issue-38
DEFAULT BRANCH: master
Ran 15 Mar 2020 08:28PM UTC
Files 8
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

15 Mar 2020 08:17PM UTC coverage: 100.0%. Remained the same
DJANGO_VERSION=https://github.com/django/django/archive/master.zip

push

travis-ci-com

skarzi
update Migrator before, after and reset methods

Update database setup for migration test to contain following steps:
  + drop (with `DROP TABLE`) all existing Django's models tables
  + flush `django_migrations` table
  + build migrations graph
  + migrate to migration before tested one
  + migrate to tested migration
  + reset db with `migrate` command - applying all migrations
    is the only way to properly reset DB and run regular tests after
    migration test

Add `pytest-mock` to developers dependencies.
Add finalizer that resets database in pytest plugin's
``migrator_factory`` fixture.
Reset database in ``unittest_case.MigrationTestCase.tearDown()``.

44 of 44 branches covered (100.0%)

Branch coverage included in aggregate %.

137 of 137 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 118.15 (DJANGO_VERSION=https://github.com/django/django/archive/master.zip)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 108
  • Travis Job 118.15
  • 2eff472c on github
  • Prev Job for DJANGO_VERSION=https://github.com/django/django/archive/master.zip on issue-38 (#116.13)
  • Next Job for DJANGO_VERSION=https://github.com/django/django/archive/master.zip on issue-38 (#120.13)
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

© 2025 Coveralls, Inc