예제 #1
0
    def setUp(self):
        args = []
        opts = {'dumpfile': 'test_db_dump2.xml', 'verbosity': 0}
        cmd = 'migrate_db'
        call_command(cmd, *args, **opts)

        self.blast = BLASTNcbi(blast_type="remote",
                               voucher_code="CP100-10",
                               gene_code="COI-begin")
예제 #2
0
    def setUp(self):
        args = []
        opts = {'dumpfile': 'test_db_dump.xml', 'verbosity': 0}
        cmd = 'migrate_db'
        call_command(cmd, *args, **opts)

        voucher_code = 'CP100-10'
        gene_code = 'COI'
        self.blast = BLASTNcbi(voucher_code, gene_code)