Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve test coverage #95

Merged
merged 15 commits into from
Sep 6, 2019
Merged

Improve test coverage #95

merged 15 commits into from
Sep 6, 2019

Conversation

FinalAngel
Copy link
Member

@FinalAngel FinalAngel commented Sep 4, 2019

  • Pinned django-filer to 1.5.0
  • Added further tests to raise coverage
  • Fixed smaller issues found during testing
  • Dropped support for django-filer <= 1.4

This needs to be merged first:
#96

@codecov-io
Copy link

codecov-io commented Sep 4, 2019

Codecov Report

Merging #95 into master will increase coverage by 32.33%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #95       +/-   ##
=========================================
+ Coverage   67.66%   100%   +32.33%     
=========================================
  Files          69     68        -1     
  Lines        1364   1286       -78     
  Branches       96     87        -9     
=========================================
+ Hits          923   1286      +363     
+ Misses        433      0      -433     
+ Partials        8      0        -8
Impacted Files Coverage Δ
..._bootstrap4/contrib/bootstrap4_link/cms_plugins.py 100% <ø> (+42.5%) ⬆️
...ib/bootstrap4_link/migrations/0003_icon_updates.py 100% <ø> (+36.58%) ⬆️
...strap4_grid/migrations/0003_migrate_column_size.py 100% <ø> (+50%) ⬆️
djangocms_bootstrap4/fields.py 100% <ø> (ø) ⬆️
...gocms_bootstrap4/contrib/bootstrap4_grid/models.py 100% <ø> (+14.63%) ⬆️
..._bootstrap4/contrib/bootstrap4_listgroup/models.py 100% <100%> (+34.28%) ⬆️
...gocms_bootstrap4/contrib/bootstrap4_tabs/models.py 100% <100%> (+100%) ⬆️
..._bootstrap4/contrib/bootstrap4_card/cms_plugins.py 100% <100%> (+41.66%) ⬆️
djangocms_bootstrap4/helpers.py
...gocms_bootstrap4/contrib/bootstrap4_link/models.py 100% <0%> (+5%) ⬆️
... and 36 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a52b866...601fc05. Read the comment docs.

self.assertEqual(response.status_code, 200)
self.assertContains(response, '<div class="row">')

# add row with values
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You meant column, right? (Same below.)

* added tests for the other modules

* adapted tests for python 2

* remove them

* adapt change from comment

* pushed comment changes

* remove whitespace

* revert changes
@FinalAngel FinalAngel merged commit 681edfa into master Sep 6, 2019
@FinalAngel FinalAngel deleted the feature/tests branch September 6, 2019 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants