equal
deleted
inserted
replaced
19 #Description: Script for test drop generation and sending to execution to |
19 #Description: Script for test drop generation and sending to execution to |
20 #ATS3-system |
20 #ATS3-system |
21 #=============================================================================== |
21 #=============================================================================== |
22 |
22 |
23 """ create the MATTI test drop file for use on the test server """ |
23 """ create the MATTI test drop file for use on the test server """ |
24 # pylint: disable-msg=R0902, R0903, R0912 |
24 # pylint: disable=R0902, R0903, R0912 |
25 |
25 |
26 import os |
26 import os |
27 import re |
27 import re |
28 import sys |
28 import sys |
29 import string |
29 import string |
30 import zipfile |
30 import zipfile |
31 import logging |
31 import logging |
32 from optparse import OptionParser |
32 from optparse import OptionParser |
33 from xml.etree import ElementTree as et |
33 from xml.etree import ElementTree as et |
34 from jinja2 import Environment, PackageLoader # pylint: disable-msg=F0401 |
34 from jinja2 import Environment, PackageLoader # pylint: disable=F0401 |
35 |
35 |
36 # Shortcuts |
36 # Shortcuts |
37 E = et.Element |
37 E = et.Element |
38 SE = et.SubElement |
38 SE = et.SubElement |
39 |
39 |