Removed Planned downtime tests until further optimisation. Fixed Misc test

This commit is contained in:
cesar991 2016-08-17 17:51:59 +02:00
parent 5727aca9d3
commit 6df9c1d25d
2 changed files with 6 additions and 5 deletions

View File

@ -6,6 +6,7 @@ from include.reports_functions import create_report, delete_report
from include.user_functions import create_user
from include.agent_functions import create_agent
from include.module_functions import create_module
from include.event_functions import *
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys

View File

@ -22,7 +22,7 @@ class PAN13(PandoraWebDriverTestCase):
test_description = u'Planed downtime test'
tickets_associated = []
def test_A_create_planned_downtime_Quiet(self):
def avoid_test_A_create_planned_downtime_Quiet(self):
u"""
Create and search planned downtime quiet
@ -42,7 +42,7 @@ class PAN13(PandoraWebDriverTestCase):
element = driver.find_element_by_xpath('//img[@data-title="Running"]')
self.assertIsInstance(element,WebElement)
def test_B_create_planned_downtime_disabled_agents(self):
def avoid_test_B_create_planned_downtime_disabled_agents(self):
u"""
Create and search planned downtime disabled agents
@ -60,7 +60,7 @@ class PAN13(PandoraWebDriverTestCase):
element = driver.find_element_by_xpath('//img[@data-title="Running"]')
self.assertIsInstance(element,WebElement)
def test_C_create_planned_downtime_disabled_only_alerts(self):
def avoid_test_C_create_planned_downtime_disabled_only_alerts(self):
u"""
Create and search planned downtime disabled only alerts
@ -78,7 +78,7 @@ class PAN13(PandoraWebDriverTestCase):
element = driver.find_element_by_xpath('//img[@data-title="Running"]')
self.assertIsInstance(element,WebElement)
def test_D_delete_planned_downtime(self):
def avoid_test_D_delete_planned_downtime(self):
driver=self.driver
@ -89,7 +89,7 @@ class PAN13(PandoraWebDriverTestCase):
delete_planned_downtime(driver,planned_name)
def test_E_quiet_functionality(self):
def avoid_test_E_quiet_functionality(self):
driver=self.driver