<reponame>passy/glashammer-rdrei
"""
glashammer.tests
~~~~~~~~~~~~~~~~

:copyright: 2010 Glashammer Developers
:license: MIT

Glashammer unit tests.
"""

import os
import shutil
from glashammer.application import make_app


def setup():
    try:
        shutil.rmtree('test_output')
    except OSError:
        pass
    os.mkdir('test_output')


def teardown():
    shutil.rmtree('test_output')

def gh_app(setup):
    return make_app(setup, 'test_output')

"""
glashammer.tests
~~~~~~~~~~~~~~~~

:copyright: 2010 Glashammer Developers
:license: MIT

Glashammer unit tests.
"""

import os
import shutil
from glashammer.application import make_app


def setup():
    try:
        shutil.rmtree('test_output')
    except OSError:
        pass
    os.mkdir('test_output')


def teardown():
    shutil.rmtree('test_output')

def gh_app(setup):
    return make_app(setup, 'test_output')
glashammer.tests ~~~~~~~~~~~~~~~~  :copyright: 2010 Glashammer Developers :license: MIT  Glashammer unit tests.