openzim / cms

ZIM file Publishing Platform
https://cms.openzim.org
GNU General Public License v3.0
4 stars 0 forks source link

Create UI testing fixtures #45

Closed anshulxyz closed 2 years ago

anshulxyz commented 2 years ago

Add data fixtures for testing UI

Command

invoke db-upgrade load-demo-fixture

You need to have migrations before you can load the fixtures.

Or try to make a clean start with

rm src/dev.db && invoke db-upgrade load-demo-fixture
codecov[bot] commented 2 years ago

Codecov Report

Merging #45 (ba493ae) into main (00cbdea) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main       #45   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines          219       222    +3     
=========================================
+ Hits           219       222    +3     
Impacted Files Coverage Δ
backend/src/backend/models.py 100.00% <100.00%> (ø)

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 00cbdea...ba493ae. Read the comment docs.