~ubuntu-branches/ubuntu/quantal/mago/quantal

« back to all changes in this revision

Viewing changes to mago/test_suite/sol.py

  • Committer: Bazaar Package Importer
  • Author(s): Ara Pulido
  • Date: 2010-12-03 16:08:32 UTC
  • Revision ID: james.westby@ubuntu.com-20101203160832-97pz2nxwmo54iwfk
Tags: 0.3-0ubuntu3
* Updated from trunk
 + Added new applications to our tests base
 + Fixes LP: #682845 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
"""
 
2
This module contains the definition of the test suite for Sol testing.
 
3
"""
 
4
import ldtp, ooldtp
 
5
from .main import SingleApplicationTestSuite
 
6
from ..application.sol import Application, Sol
 
7
 
 
8
class SolTestSuite(SingleApplicationTestSuite):
 
9
    """
 
10
    Default test suite for Sol
 
11
    """
 
12
    APPLICATION_FACTORY = Sol
 
13
    def setup(self):
 
14
        self.application.open()
 
15
 
 
16
    def teardown(self):
 
17
        self.application.close()
 
18
 
 
19
    def cleanup(self):
 
20
        self.application.close()