List of all members.
Detailed Description
Definition at line 10 of file sfc_commandline.py.
Member Function Documentation
def sfc_commandline::SFCCommandlineTest::setUp |
( |
|
self | ) |
|
Definition at line 11 of file sfc_commandline.py.
00012 :
00013 print "Running templatetest in testdir"
00014 print "Imported SyFi from location", SyFi.__file__
00015 print "Imported sfc from location", sfc.__file__
00016 shutil.rmtree(_test_temp_dir, ignore_errors=True)
00017 os.mkdir(_test_temp_dir)
00018 os.chdir(_test_temp_dir)
def sfc_commandline::SFCCommandlineTest::tearDown |
( |
|
self | ) |
|
def sfc_commandline::SFCCommandlineTest::testForms |
( |
|
self | ) |
|
Definition at line 23 of file sfc_commandline.py.
00024 :
00025 forms = glob.glob("../forms/*.form")
00026 for f in forms:
00027
00028 cmd = "sfc %s" % f
00029 status, output = commands.getstatusoutput(cmd)
00030 self.assertTrue(status == 0)
The documentation for this class was generated from the following file: