aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xtesting/core/mts.py6
-rw-r--r--xtesting/samples/mts/pause.xml10
-rw-r--r--xtesting/samples/mts/test.xml4
3 files changed, 6 insertions, 14 deletions
diff --git a/xtesting/core/mts.py b/xtesting/core/mts.py
index 6ced2530..f1cf80ac 100644
--- a/xtesting/core/mts.py
+++ b/xtesting/core/mts.py
@@ -9,11 +9,7 @@
# pylint: disable=too-many-instance-attributes
-"""Define the parent classes of all Xtesting Features.
-
-Feature is considered as TestCase offered by Third-party. It offers
-helpers to run any python method or any bash command.
-"""
+"""Implement a Xtesting driver to run mts suite."""
import csv
import logging
diff --git a/xtesting/samples/mts/pause.xml b/xtesting/samples/mts/pause.xml
index 34f7b52b..aaaacf28 100644
--- a/xtesting/samples/mts/pause.xml
+++ b/xtesting/samples/mts/pause.xml
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Related XMLSchema file: conf/schemas/scenario.xsd -->
-
-<scenario>
- <log>Duree de pause demandee : [pauseDuration]</log>
- <pause name="Pause" seconds="[pauseDuration]"/>
-</scenario>
+<scenario xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/ericsson-mts/mts/master/src/main/conf/schemas/scenario.xsd">
+ <log>Duree de pause demandee : [pauseDuration]</log>
+ <pause name="Pause" seconds="[pauseDuration]" />
+</scenario> \ No newline at end of file
diff --git a/xtesting/samples/mts/test.xml b/xtesting/samples/mts/test.xml
index 5901f5b2..d1447ab9 100644
--- a/xtesting/samples/mts/test.xml
+++ b/xtesting/samples/mts/test.xml
@@ -1,9 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-
-<test name="Commissioning MTS">
+<test name="Commissioning MTS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/ericsson-mts/mts/master/src/main/conf/schemas/test.xsd">
<testcase name="Pause_5_sec" state="true">
<parameter name="[pauseDuration]" operation="set" value="5"/>
-
<scenario name="[testcasename]" file="pause.xml" />
</testcase>
</test>