hastexo / olx-utils

Tools facilitating the creation of Open edX courseware in the Open Learning XML (OLX) format
GNU Affero General Public License v3.0
5 stars 5 forks source link

Fix broken tests #31

Closed fghaas closed 5 years ago

fghaas commented 5 years ago

Two invocations of self.assertRaises() contained both an incorrect indentation (meaning the test didn't run), and an incorrect use of the exception context (meaning the test would have failed even if the indentation had been corrected).

codecov-io commented 5 years ago

Codecov Report

Merging #31 into master will increase coverage by 0.82%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #31      +/-   ##
==========================================
+ Coverage   98.35%   99.17%   +0.82%     
==========================================
  Files           9        9              
  Lines         485      485              
==========================================
+ Hits          477      481       +4     
+ Misses          8        4       -4
Impacted Files Coverage Δ
tests/test_git.py 100% <100%> (+4.7%) :arrow_up:

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 5ae0363...0772455. Read the comment docs.