Package TestON :: Package core :: Module teston
[hide private]
[frames] | no frames]

Module teston

source code


Created on 22-Oct-2012

@author: Anil Kumar (anilkumar.s@paxterrasolutions.com)


    TestON is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 2 of the License, or
    (at your option) any later version.

    TestON 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 General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with TestON.  If not, see <http://www.gnu.org/licenses/>.



teston is the main module.

Classes [hide private]
  TestON
TestON will initiate the specified test.
Functions [hide private]
 
verifyOptions(options)
This will verify the command line options and set to default values, if any option not given in command line.
source code
 
verifyTest(options) source code
 
verifyExample(options) source code
 
verifyLogdir(options) source code
 
verifyMail(options) source code
 
verifyTestCases(options) source code
 
verifyOnosCell(options) source code
 
verifyTestScript(options)
Verifyies test script.
source code
 
verifyParams() source code
 
load_parser()
It facilitates the loading customised parser for topology and params file.
source code
 
load_defaultParser()
It will load the default parser which is xml parser to parse the params and topology file.
source code
 
load_logger()
It facilitates the loading customised parser for topology and params file.
source code
 
load_defaultlogger()
It will load the default parser which is xml parser to parse the params and topology file.
source code
 
_echo(self) source code
Variables [hide private]
  location = '/home/admin/OnosSystemTest/TestON/core'
  path = '/home/admin/OnosSystemTest/TestON/'
  drivers_path = '/home/admin/OnosSystemTest/TestON/drivers/'
  core_path = '/home/admin/OnosSystemTest/TestON/core'
  tests_path = '/home/admin/OnosSystemTest/TestON/tests'
  logs_path = '/home/admin/OnosSystemTest/TestON/logs/'
  config_path = '/home/admin/OnosSystemTest/TestON/config/'
  __package__ = 'TestON.core'
Function Details [hide private]

load_parser()

source code 

It facilitates the loading customised parser for topology and params file. It loads parser mentioned in tab named parser of teston.cfg file. It also loads default xmlparser if no parser have specified in teston.cfg file.

load_logger()

source code 

It facilitates the loading customised parser for topology and params file. It loads parser mentioned in tab named parser of teston.cfg file. It also loads default xmlparser if no parser have specified in teston.cfg file.