buildframework/helium/sf/python/pythoncore/lib/pythoncorecpythontests/test_atsant.py
changeset 628 7c4a911dc066
parent 588 c7c26511138f
--- a/buildframework/helium/sf/python/pythoncore/lib/pythoncorecpythontests/test_atsant.py	Wed Jun 16 16:51:40 2010 +0300
+++ b/buildframework/helium/sf/python/pythoncore/lib/pythoncorecpythontests/test_atsant.py	Fri Aug 13 14:59:05 2010 +0300
@@ -37,6 +37,17 @@
     files = atsant.files_to_test(os.path.join(os.environ['TEST_DATA'], 'data/packageiad/layers.sysdef.xml'), None, None, 'z:', 'true')
     assert len(files) == 1
 
+def test_atsant_multipledrop_with_sysdef3():
+    """test atsant and check MULTIPLE drop files are created when sysdef3 files are in use"""
+    files = atsant.files_to_test(os.path.join(os.environ['TEST_DATA'], 'data/packageiad/sysdef3_test.xml'), None, None, 'z:', 'false', True)
+    assert len(files) == 2
+    
+def test_atsant_singledrop_with_sysdef3():
+    """test atsant and check SINGLE drop file is created when sysdef3 files are in use"""
+    files = atsant.files_to_test(os.path.join(os.environ['TEST_DATA'], 'data/packageiad/sysdef3_test.xml'), None, None, 'z:', 'true', True)
+
+    assert len(files) == 1
+
 def test_IConfigATS():
     """test I config ATS"""
     tmpdir = tempfile.mkdtemp()