def runTest(self):
        self._success = False
        expt = cry_ini.Files('POLARIS',
                             RawDir=(DIRS[0] + "POLARIS"),
                             Analysisdir='test',
                             forceRootDirFromScripts=False,
                             inputInstDir=DIRS[0])
        expt.initialize('Cycle_16_1',
                        user='******',
                        prefFile='UserPrefFile_16_1_si_calfile_'
                        'from_all_spectra_emptysub.pref')
        expt.tell()
        cry_focus.focus_all(expt, "93107", Write_ExtV=False)

        # Custom code to create and run this single test suite
        # and then mark as success or failure
        suite = unittest.TestSuite()
        suite.addTest(unittest.makeSuite(LoadTests3, "test"))
        runner = unittest.TextTestRunner()
        # Run using either runner
        res = runner.run(suite)
        if res.wasSuccessful():
            self._success = True
        else:
            self._success = False
Ejemplo n.º 2
0
 def runTest(self):
     dirs = config['datasearch.directories'].split(';')
     expt = cry_ini.Files('hrpd', RawDir=(dirs[0]), Analysisdir='test', forceRootDirFromScripts=False,
                          inputInstDir=dirs[0])
     expt.initialize('cycle_09_2', user='******', prefFile='mtd.pref')
     expt.tell()
     cry_focus.focus_all(expt, "43022")
    def runTest(self):
        self._success = False
        expt = cry_ini.Files('hrpd', RawDir=(DIRS[0]), Analysisdir='test', forceRootDirFromScripts=False,
                             inputInstDir=DIRS[0])
        expt.initialize('cycle_09_2', user='******', prefFile='mtd.pref')
        expt.tell()
        cry_focus.focus_all(expt, "43022")

        # Custom code to create and run this single test suite
        # and then mark as success or failure
        suite = unittest.TestSuite()
        suite.addTest(unittest.makeSuite(LoadTests, "test"))
        runner = unittest.TextTestRunner()
        # Run using either runner
        res = runner.run(suite)
        if res.wasSuccessful():
            self._success = True
        else:
            self._success = False
    def runTest(self):
        self._success = False
        expt = cry_ini.Files('POLARIS', RawDir=(DIRS[0] + "POLARIS"), Analysisdir='test',
                             forceRootDirFromScripts=False, inputInstDir=DIRS[0])
        expt.initialize('Cycle_15_2_exist_v', user='******', prefFile='UserPrefFile_15_2_original.pref')
        expt.tell()
        cry_focus.focus_all(expt, "79514", Write_ExtV=False)

        # Custom code to create and run this single test suite
        # and then mark as success or failure
        suite = unittest.TestSuite()
        suite.addTest(unittest.makeSuite(LoadTests2, "test"))
        runner = unittest.TextTestRunner()
        # Run using either runner
        res = runner.run(suite)
        if res.wasSuccessful():
            self._success = True
        else:
            self._success = False
Ejemplo n.º 5
0
    def runTest(self):
        self._success = False
        expt = cry_ini.Files('GEM', RawDir=(DIRS[0] + "GEM"), Analysisdir='test',
                             forceRootDirFromScripts=False, inputInstDir=DIRS[0])
        expt.initialize('Cycle_09_5_No_ExtV', user='******', prefFile='GEM_095_calibration_noExtV.pref')
        expt.tell()
        cry_focus.focus_all(expt, "48436", Write_ExtV=False)

        # Custom code to create and run this single test suite
        # and then mark as success or failure
        suite = unittest.TestSuite()
        suite.addTest(unittest.makeSuite(LoadTests2, "test"))
        runner = unittest.TextTestRunner()
        # Run using either runner
        res = runner.run(suite)
        if res.wasSuccessful():
            self._success = True
        else:
            self._success = False
    def runTest(self):
        self._success = False
        expt = cry_ini.Files(
            "hrpd", RawDir=(DIRS[0]), Analysisdir="test", forceRootDirFromScripts=False, inputInstDir=DIRS[0]
        )
        expt.initialize("cycle_09_2_no_existv", user="******", prefFile="mtd_existv_no.pref")
        expt.tell()
        cry_focus.focus_all(expt, "43022", Write_ExtV=False)

        # Custom code to create and run this single test suite
        # and then mark as success or failure
        suite = unittest.TestSuite()
        suite.addTest(unittest.makeSuite(LoadTests2, "test"))
        runner = unittest.TextTestRunner()
        # Run using either runner
        res = runner.run(suite)
        if res.wasSuccessful():
            self._success = True
        else:
            self._success = False
Ejemplo n.º 7
0
    def runTest(self):
        self._success = False
        expt = cry_ini.Files('hrpd',
                             RawDir=(DIRS[0]),
                             Analysisdir='test',
                             forceRootDirFromScripts=False,
                             inputInstDir=DIRS[0])
        expt.initialize('cycle_09_2', user='******', prefFile='mtd.pref')
        expt.tell()
        cry_focus.focus_all(expt, "43022")

        # Custom code to create and run this single test suite
        # and then mark as success or failure
        suite = unittest.TestSuite()
        suite.addTest(unittest.makeSuite(LoadTests, "test"))
        runner = unittest.TextTestRunner()
        # Run using either runner
        res = runner.run(suite)
        if res.wasSuccessful():
            self._success = True
        else:
            self._success = False
Ejemplo n.º 8
0
    def runTest(self):
        self._success = False
        expt = cry_ini.Files('GEM',
                             RawDir=(DIRS[0] + "GEM"),
                             Analysisdir='test',
                             forceRootDirFromScripts=False,
                             inputInstDir=DIRS[0])
        expt.initialize('Cycle_09_5_No_ExtV',
                        user='******',
                        prefFile='GEM_095_calibration_noExtV.pref')
        expt.tell()
        cry_focus.focus_all(expt, "48436", Write_ExtV=False)

        # Custom code to create and run this single test suite
        # and then mark as success or failure
        suite = unittest.TestSuite()
        suite.addTest(unittest.makeSuite(LoadTests2, "test"))
        runner = unittest.TextTestRunner()
        # Run using either runner
        res = runner.run(suite)
        if res.wasSuccessful():
            self._success = True
        else:
            self._success = False
 def runTest(self):
     expt = cry_ini.Files('GEM', RawDir=(DIRS[0] + "GEM/"), Analysisdir='test',
                          forceRootDirFromScripts=False, inputInstDir=(DIRS[0]))
     expt.initialize('Cycle_09_5', user='******', prefFile='GEM_095_calibration.pref')
     expt.tell()
     cry_focus.focus_all(expt, "46489")