##// END OF EJS Templates
Merge pull request #2231 from Carreau/ja...
Merge pull request #2231 from Carreau/ja Improve Image format validation and add html width,height This addresses the first two bullets of #2053 Validates first argument to constrain format to png, jpeg, Lets user specify width, height, or both and emits appropriate html I introduced a couple of class constants to minimize the number of times I saw 'jpeg' and 'png' and document the _ACCEPTABLE_FORMATS. I added one real jpeg image to the test directory and one zero-length gif file to survive the file not found error in super() Closes #2053 Add `assert_is_none`, `assert_is_not_none` to `nose.tools`
Bussonnier Matthias -
r8116:19feb23c merge
Show More
Name Size Modified Last Commit Author
/ IPython / frontend / html / notebook
static
templates
tests
__init__.py Loading ...
clustermanager.py Loading ...
handlers.py Loading ...
kernelmanager.py Loading ...
notebookapp.py Loading ...
notebookmanager.py Loading ...
zmqhttp.py Loading ...