[ADD] Test skeleton

bzr revid: rim@openerp.com-20140317133708-5aa7rtcgzg8bbhtm
This commit is contained in:
Richard Mathot (OpenERP) 2014-03-17 14:37:08 +01:00
parent c2420b6e69
commit 590ab0ce40
2 changed files with 44 additions and 4 deletions

View File

@ -19,9 +19,9 @@
#
##############################################################################
#from openerp.osv.orm import except_orm
#from openerp.tools import mute_logger
from . import test_survey
class test_survey():
pass
checks = [
test_survey
]

View File

@ -0,0 +1,40 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Business Applications
# Copyright (c) 2014-TODAY OpenERP S.A. <http://openerp.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp.tests import common
class test_survey(common.TransactionCase):
def setUp(self):
super(test_survey, self).setUp()
cr, uid, context = self.cr, self.uid, {}
pass
def test_00_create_survey_and_questions(self):
cr, uid, context = self.cr, self.uid, {}
pass
def test_01_fill_survey(self):
pass
def test_02_answer_survey(self):
pass