From fcb86b3f5c9ed7af468cd0b67245734284a46465 Mon Sep 17 00:00:00 2001 From: cesar991 Date: Wed, 24 Aug 2016 11:43:11 +0200 Subject: [PATCH] Change PAN3.py to Modules.py (cherry picked from commit cab24a7066556a7f405124a38aff7cc9b511264d) --- tests/console/{PAN3.py => Modules.py} | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) rename tests/console/{PAN3.py => Modules.py} (87%) diff --git a/tests/console/PAN3.py b/tests/console/Modules.py similarity index 87% rename from tests/console/PAN3.py rename to tests/console/Modules.py index 298270bd27..e59675c120 100644 --- a/tests/console/PAN3.py +++ b/tests/console/Modules.py @@ -8,18 +8,25 @@ from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import Select from selenium.common.exceptions import StaleElementReferenceException from include.module_functions import * + import unittest, time, re +class Modules(PandoraWebDriverTestCase): -class PAN3(PandoraWebDriverTestCase): - - test_name = u'PAN_3' - test_description = u'Creates a simple ICMP check against localhost and checks the result is 1' + test_name = u'Modules' + test_description = u'Module tests' tickets_associated = [] - def test_pan3(self): + def test_create_ICMP_module(self): + + u""" + Creates a simple ICMP check against localhost and checks the result is 1 + """ + driver = self.driver self.login() + detect_and_pass_all_wizards(driver) + create_agent(driver,"PAN3_agent",ip="127.0.0.1") create_module("network_server",driver,agent_name="PAN3_agent",module_name="PAN3_module",component_group="Network Management",network_component="Host Alive",ip="127.0.0.1")