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

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

Build:
Build:
LAST BUILD BRANCH: issue-38
DEFAULT BRANCH: master
Ran 15 Mar 2020 08:23PM 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
118

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()``.

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 118.1 (DJANGO_VERSION='Django~=1.11.0') 15 Mar 2020 08:23PM UTC 0
100.0
Travis Job 118.1
2 118.2 (DJANGO_VERSION='Django~=2.1.0') 15 Mar 2020 08:23PM UTC 0
100.0
Travis Job 118.2
3 118.3 (DJANGO_VERSION='Django~=2.2.0') 15 Mar 2020 08:23PM UTC 0
100.0
Travis Job 118.3
4 118.4 (DJANGO_VERSION='Django~=3.0.0') 15 Mar 2020 08:23PM UTC 0
100.0
Travis Job 118.4
5 118.5 (DJANGO_VERSION='Django~=1.11.0') 15 Mar 2020 08:23PM UTC 0
100.0
Travis Job 118.5
6 118.6 (DJANGO_VERSION='Django~=2.1.0') 15 Mar 2020 08:25PM UTC 0
100.0
Travis Job 118.6
7 118.7 (DJANGO_VERSION='Django~=2.2.0') 15 Mar 2020 08:26PM UTC 0
100.0
Travis Job 118.7
8 118.8 (DJANGO_VERSION='Django~=3.0.0') 15 Mar 2020 08:26PM UTC 0
100.0
Travis Job 118.8
9 118.9 (DJANGO_VERSION='Django~=1.11.0') 15 Mar 2020 08:26PM UTC 0
100.0
Travis Job 118.9
10 118.10 (DJANGO_VERSION='Django~=2.1.0') 15 Mar 2020 08:26PM UTC 0
100.0
Travis Job 118.10
11 118.11 (DJANGO_VERSION='Django~=2.2.0') 15 Mar 2020 08:28PM UTC 0
100.0
Travis Job 118.11
12 118.12 (DJANGO_VERSION='Django~=3.0.0') 15 Mar 2020 08:28PM UTC 0
100.0
Travis Job 118.12
13 118.13 (DJANGO_VERSION=https://github.com/django/django/archive/master.zip) 15 Mar 2020 08:28PM UTC 0
100.0
Travis Job 118.13
14 118.14 (DJANGO_VERSION=https://github.com/django/django/archive/master.zip) 15 Mar 2020 08:28PM UTC 0
100.0
Travis Job 118.14
15 118.15 (DJANGO_VERSION=https://github.com/django/django/archive/master.zip) 15 Mar 2020 08:28PM UTC 0
100.0
Travis Job 118.15
Source Files on build 118
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #118
  • 2eff472c on github
  • Prev Build on issue-38 (#116)
  • Next Build on issue-38 (#120)
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