##// END OF EJS Templates
Added tests for the new get_ipython_dir and get_security_dir ...
Added tests for the new get_ipython_dir and get_security_dir functions in genutils.py. Also added one for get_home_dir.

File last commit:

r1333:933b1e98
r1617:49915b40
Show More
test_tools_utils.txt
17 lines | 542 B | text/plain | TextLexer
=========================================
Doctests for the ``tools.utils`` module
=========================================
The way doctest loads these, the entire document is applied as a single test
rather than multiple individual ones, unfortunately::
>>> from IPython.tools import utils
# Some other tests for utils
>>> utils.marquee('Testing marquee')
'****************************** Testing marquee ******************************'
>>> utils.marquee('Another test',30,'.')
'........ Another test ........'