PythonFreeCourse / calendar

Apache License 2.0
34 stars 52 forks source link

Fixed datetime dt error #246

Closed annashtirberg closed 3 years ago

annashtirberg commented 3 years ago

Change with imports in last merge to develop make error: undefined name "datetime" when testing

I fixed it by correcting the use places where "datetime" was used to "dt" very small fix and works :)

codecov-io commented 3 years ago

Codecov Report

Merging #246 (a065f45) into develop (4df85bc) will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #246      +/-   ##
===========================================
+ Coverage    99.29%   99.30%   +0.01%     
===========================================
  Files           41       41              
  Lines         1691     1736      +45     
===========================================
+ Hits          1679     1724      +45     
  Misses          12       12              
Impacted Files Coverage Δ
app/database/models.py 96.66% <100.00%> (+0.05%) :arrow_up:
app/internal/event.py 100.00% <100.00%> (ø)
app/routers/event.py 97.29% <100.00%> (+0.49%) :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 75ed3ee...a065f45. Read the comment docs.

yammesicka commented 3 years ago

Great initiative, thanks!