Child: [691801] (diff)

Download this file

__init__.py    25 lines (17 with data), 572 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- coding: utf-8 -*-
"""Unit and functional test suite for allura."""
from . import helpers
__all__ = ['setup_db', 'teardown_db', 'TestController', 'helpers']
def setup_db():
"""Method used to build a database"""
pass
def teardown_db():
"""Method used to destroy a database"""
pass
class TestController(object):
def setUp(self):
"""Method called by nose before running each test"""
self.app = helpers.setup_functional_test()
def tearDown(self):
"""Method called by nose after running each test"""
pass