Niraj-Kamdar / question-paper-generator

The Question Paper Generator has been made to allow professors to generate question papers with random but enough questions to cover most chapters of a subject with specified difficulty and cognitive level and mail paper directly to the examiner in PDF format.
https://setnow.herokuapp.com/
MIT License
14 stars 19 forks source link

Added Test case for delete of course and units #221

Closed vaibhav0320 closed 4 years ago

vaibhav0320 commented 4 years ago

Added redirection for delete_course and delete_unit

codecov[bot] commented 4 years ago

Codecov Report

Merging #221 into develop will increase coverage by 1.06%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #221      +/-   ##
===========================================
+ Coverage    91.97%   93.04%   +1.06%     
===========================================
  Files           37       39       +2     
  Lines         1383     1423      +40     
===========================================
+ Hits          1272     1324      +52     
+ Misses         111       99      -12     
Flag Coverage Δ
#unittests 93.04% <100.00%> (+1.06%) :arrow_up:
Impacted Files Coverage Δ
flaskapp/blueprints/courses/routes.py 96.82% <100.00%> (+13.21%) :arrow_up:
test/test_course.py 100.00% <100.00%> (ø)
test/test_unit.py 100.00% <100.00%> (ø)
flaskapp/blueprints/users/routes.py 91.57% <0.00%> (+1.05%) :arrow_up:
flaskapp/blueprints/users/forms.py 98.18% <0.00%> (+1.81%) :arrow_up:
flaskapp/models.py 97.59% <0.00%> (+2.40%) :arrow_up:
Niraj-Kamdar commented 4 years ago

It may have some bug.Try to fix it if you can.

Niraj-Kamdar commented 4 years ago

Don't worry about restyled error that's just a bot performing style check and it will fix it in separate PR.

Niraj-Kamdar commented 4 years ago

I would like to merge it if it is complete

Niraj-Kamdar commented 4 years ago

Merged via PR #223