##// END OF EJS Templates
Update exception colors API to PEP8, various small fixes in related files....
Update exception colors API to PEP8, various small fixes in related files. - XXX: we are still carrying two copies of ultraTB, we need to clean this up. Will be done in a later commit.

File last commit:

r1617:49915b40
r1845:cf8cb577
Show More
test_genutils.py
31 lines | 1007 B | text/x-python | PythonLexer
# encoding: utf-8
"""Tests for genutils.py"""
__docformat__ = "restructuredtext en"
#-----------------------------------------------------------------------------
# Copyright (C) 2008 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
from IPython import genutils
def test_get_home_dir():
"""Make sure we can get the home directory."""
home_dir = genutils.get_home_dir()
def test_get_ipython_dir():
"""Make sure we can get the ipython directory."""
ipdir = genutils.get_ipython_dir()
def test_get_security_dir():
"""Make sure we can get the ipython/security directory."""
sdir = genutils.get_security_dir()