Example #1
0
 def tearDown(self):
     """ Report collated results of the tests to a remote CouchDB database.
     """
     try:
         for res in self.results:
             if config.SERVER:
                 helpers.send_couchdb(config.SERVER, config.DECONSEQ_DB, config.USERNAME, config.PASSWORD, res, wake_up=config.WAKE)
     except:
         pass
Example #2
0
    def tearDown(self):
        """ Report collated results of the tests to a remote CouchDB database.
        """
        try:
            for res in self.results:
                if config.SERVER:
                    helpers.send_couchdb(config.SERVER, config.FASTQ_SCREEN_DB, config.USERNAME, config.PASSWORD, res, wake_up=config.WAKE)

            # remove fastq_screen files from old test runs
            self._cleanup_fastq_screen_results()
        except:
            pass
Example #3
0
    def tearDown(self):
        """ Report collated results of the tests to a remote CouchDB database.
        """
        try:
            for res in self.results:
                if config.SERVER:
                    helpers.send_couchdb(config.SERVER, config.FASTQ_SCREEN_DB, config.USERNAME, config.PASSWORD, res)

            # remove fastq_screen files from old test runs
            shutil.rmtree(self.tmp)
            os.mkdir(self.tmp)
        except:
            pass