equal
deleted
inserted
replaced
19 # |
19 # |
20 # CDDL HEADER END |
20 # CDDL HEADER END |
21 # |
21 # |
22 |
22 |
23 # |
23 # |
24 # Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. |
24 # Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. |
25 # |
25 # |
26 ''' |
26 ''' |
27 Tests auto install to a specified XML Manifest |
27 Tests auto install to a specified XML Manifest |
28 ''' |
28 ''' |
29 |
29 |
49 def tearDown(self): |
49 def tearDown(self): |
50 ''' |
50 ''' |
51 Clean Up |
51 Clean Up |
52 ''' |
52 ''' |
53 if self.AI is not None: |
53 if self.AI is not None: |
54 # Reset the Engine for next test |
54 reset_engine() |
55 if self.AI.engine is not None: |
|
56 reset_engine(self.AI.engine) |
|
57 |
|
58 # Remove install log as test has succeeded |
|
59 if os.path.isfile(self.AI.INSTALL_LOG): |
|
60 os.remove(self.AI.INSTALL_LOG) |
|
61 |
|
62 self.AI = None |
55 self.AI = None |
63 |
56 |
64 def test_manifest_install_auto_reboot_true(self): |
57 def test_manifest_install_auto_reboot_true(self): |
65 ''' |
58 ''' |
66 Test installation with manifest containing auto_reboot set to true |
59 Test installation with manifest containing auto_reboot set to true |