Beispiel #1
0
 def testAppDryrun(self):
     for args in self.testArgs:
         try:
             with self.assertRaises(DryrunError):
                 vsmomi.main(["--dryrun"] + args)
         except SystemExit:
             assert False, args
Beispiel #2
0
#!/usr/bin/env python

import sys
import os
__file__ = os.path.abspath(__file__)
__scriptdir__ = os.path.dirname(__file__)
sys.path.insert(0, os.path.dirname(__scriptdir__))
import vsmomi

sys.exit(vsmomi.main())