view profilemanager/tests/test_profilemanager.txt @ 12:a07e53273b70

adding stubs for tests
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 06 May 2010 07:40:17 -0700
parents
children 5f81f9d321ba
line wrap: on
line source

Test ProfileManager
===================

The obligatory imports:

    >>> import os
    >>> from profilemanager import ProfileManager

Get the path to the test profiles.ini file:

    >>> from pkg_resources import resource_filename
    >>> path = os.path.join('tests', 'profiles', 'profiles.ini')
    >>> profiles = resource_filename('profilemanager', path)