Skip to content

Conversation

@davidlowryduda
Copy link
Member

The problem in #2332 went unnoticed because of a lack of testing. This
commit adds tests for the base citations page and the "How to Cite" the
lmfdb page. These tests really just check that these pages exist. It
also tests a specific reference in the citation list and tests for its
bib entry in the associated bibliography list. This would catch the
problem from #2332.

Note that I've also submitted a pull request to the LMFDB/citations
repository to prevent this issue from coming up. This is
LMFDB/citations#9

The problem in LMFDB#2332 went unnoticed because of a lack of testing. This
commit adds tests for the base citations page and the "How to Cite" the
lmfdb page. These tests really just check that these pages exist. It
also tests a specific reference in the citation list and tests for its
bib entry in the associated bibliography list. This would catch the
problem from LMFDB#2332.

Note that I've also submitted a pull request to the LMFDB/citations
repository to prevent this issue from coming up. This is
LMFDB/citations#9
@codecov-io
Copy link

Codecov Report

Merging #2334 into master will increase coverage by 0.08%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2334      +/-   ##
==========================================
+ Coverage   57.68%   57.76%   +0.08%     
==========================================
  Files         225      226       +1     
  Lines       29598    29615      +17     
  Branches     4573     4573              
==========================================
+ Hits        17073    17107      +34     
+ Misses      11296    11280      -16     
+ Partials     1229     1228       -1
Impacted Files Coverage Δ
lmfdb/test_citations.py 100% <100%> (ø)
lmfdb/WebNumberField.py 82.08% <0%> (+1.09%) ⬆️
lmfdb/pages.py 57.89% <0%> (+7.23%) ⬆️

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 9688c29...fdbd34d. Read the comment docs.

@JohnCremona
Copy link
Member

Thanks!

@JohnCremona JohnCremona merged commit debfa0d into LMFDB:master Nov 29, 2017
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.

3 participants