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

wemake-services / django-test-migrations / 119
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: issue-38
DEFAULT BRANCH: master
Ran 15 Mar 2020 08:30PM UTC
Jobs 15
Files 8
Run time 5min
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
119

Pull #46

travis-ci-com

web-flow
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()``.
Pull Request #46: WIP: update database cleaning after migrations test

28 of 28 branches covered (100.0%)

Branch coverage included in aggregate %.

39 of 39 new or added lines in 3 files covered. (100.0%)

136 of 136 relevant lines covered (100.0%)

15.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 119.1 (DJANGO_VERSION='Django~=1.11.0') 15 Mar 2020 08:30PM UTC 0
100.0
Travis Job 119.1
2 119.2 (DJANGO_VERSION='Django~=2.1.0') 15 Mar 2020 08:31PM UTC 0
100.0
Travis Job 119.2
3 119.3 (DJANGO_VERSION='Django~=2.2.0') 15 Mar 2020 08:31PM UTC 0
100.0
Travis Job 119.3
4 119.4 (DJANGO_VERSION='Django~=3.0.0') 15 Mar 2020 08:31PM UTC 0
100.0
Travis Job 119.4
5 119.5 (DJANGO_VERSION='Django~=1.11.0') 15 Mar 2020 08:31PM UTC 0
100.0
Travis Job 119.5
6 119.6 (DJANGO_VERSION='Django~=2.1.0') 15 Mar 2020 08:33PM UTC 0
100.0
Travis Job 119.6
7 119.7 (DJANGO_VERSION='Django~=2.2.0') 15 Mar 2020 08:33PM UTC 0
100.0
Travis Job 119.7
8 119.8 (DJANGO_VERSION='Django~=3.0.0') 15 Mar 2020 08:33PM UTC 0
100.0
Travis Job 119.8
9 119.9 (DJANGO_VERSION='Django~=1.11.0') 15 Mar 2020 08:33PM UTC 0
100.0
Travis Job 119.9
10 119.10 (DJANGO_VERSION='Django~=2.1.0') 15 Mar 2020 08:33PM UTC 0
100.0
Travis Job 119.10
11 119.11 (DJANGO_VERSION='Django~=2.2.0') 15 Mar 2020 08:35PM UTC 0
100.0
Travis Job 119.11
12 119.12 (DJANGO_VERSION='Django~=3.0.0') 15 Mar 2020 08:35PM UTC 0
100.0
Travis Job 119.12
13 119.13 (DJANGO_VERSION=https://github.com/django/django/archive/master.zip) 15 Mar 2020 08:35PM UTC 0
100.0
Travis Job 119.13
14 119.14 (DJANGO_VERSION=https://github.com/django/django/archive/master.zip) 15 Mar 2020 08:36PM UTC 0
100.0
Travis Job 119.14
15 119.15 (DJANGO_VERSION=https://github.com/django/django/archive/master.zip) 15 Mar 2020 08:36PM UTC 0
100.0
Travis Job 119.15
Source Files on build 119
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #119
  • Pull Request #46
  • PR Base - master (#111)
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