mozilla/pdf.js — Issue #1266: test.py line 349: wrong assumption for pdf.js clone
Author: brettalton
Created: 2012-02-22 21:54:44+00:00
State: open

If you download the repository from GitHub, this line (349), will fail.

This is because .git does not get downloaded when downloading from GitHub, thus looking for ../.git will fail. I removed the line and the script ran flawlessly.

347: def setUp(options):
348: # Only serve files from a pdf.js clone
349: assert not GIT_CLONE_CHECK or os.path.isfile('../src/pdf.js') and os.path.isdir('../.git')