##// END OF EJS Templates
Merge with upstream
Merge with upstream

File last commit:

r1617:49915b40
r1670:099aada6 merge
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()