Ejemplo n.º 1
0
    def setUp(self):
        GuiTestAssistant.setUp(self)
        self.app = make_sample_app()

        # Make a copy of the current recent_files and reset at tearDown so
        # opening new one will not be impacted by running the test suite.
        self.recent_files = copy(self.app.recent_files)
        self.app.recent_files = []
    def setUp(self):
        GuiTestAssistant.setUp(self)
        self.study = make_sample_study2()
        exp1 = self.study.search_experiment_by_name('Run_1')
        self.sim1 = build_simulation_from_experiment(exp1)
        self.study.simulations.append(self.sim1)

        exp2 = self.study.search_experiment_by_name('Run_2')
        self.sim2 = build_simulation_from_experiment(exp2)
        self.study.simulations.append(self.sim2)
    def setUp(self):
        GuiTestAssistant.setUp(self)

        register_all_data_views()
        datasource = SimpleDataSource()
        product = datasource.get_object_of_type("products", 'Prod001')
        ds = InStudyDataSource()
        buf = Buffer(**BUFFER_ELUTION)
        ds.set_object_of_type("buffers", buf)
        self.study = Study(name="test",
                           product=product,
                           datasource=datasource,
                           study_datasource=ds)
        ds = InStudyDataSource()
        self.study2 = Study(name="test2",
                            datasource=datasource,
                            study_datasource=ds)
Ejemplo n.º 4
0
 def tearDown(self):
     pop_exception_handler()
     GuiTestAssistant.tearDown(self)
Ejemplo n.º 5
0
 def setUp(self):
     GuiTestAssistant.setUp(self)
     push_exception_handler(reraise_exceptions=True)
 def setUp(self):
     GuiTestAssistant.setUp(self)
     self.study2 = make_sample_study(num_exp=1)
Ejemplo n.º 7
0
 def tearDown(self):
     self.app.exit()
     GuiTestAssistant.tearDown(self)
Ejemplo n.º 8
0
 def setUp(self):
     GuiTestAssistant.setUp(self)
     self.application = Application()
Ejemplo n.º 9
0
 def tearDown(self):
     del self.dialog
     GuiTestAssistant.tearDown(self)
Ejemplo n.º 10
0
 def setUp(self):
     GuiTestAssistant.setUp(self)
     self.dialog = Application()
Ejemplo n.º 11
0
 def tearDown(self):
     pop_exception_handler()
     GuiTestAssistant.tearDown(self)
Ejemplo n.º 12
0
 def setUp(self):
     GuiTestAssistant.setUp(self)
     push_exception_handler(reraise_exceptions=True)