This repository has been archived by the owner on Aug 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
249 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
backend : PDF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
def basic_suite(): | ||
import biokbase.data_api.tests.test_suite_basic | ||
biokbase.data_api.tests.test_suite_basic.test_assembly_api() | ||
biokbase.data_api.tests.test_suite_basic.test_genome_annotation_api() | ||
biokbase.data_api.tests.test_suite_basic.test_taxon_api() | ||
|
||
def extended_suite(): | ||
import biokbase.data_api.tests.test_suite_extended | ||
biokbase.data_api.tests.test_suite_extended.test_assembly_api() | ||
biokbase.data_api.tests.test_suite_extended.test_genome_annotation_api() | ||
biokbase.data_api.tests.test_suite_extended.test_taxon_api() | ||
# def basic_suite(): | ||
# import biokbase.data_api.tests.test_suite_basic | ||
# biokbase.data_api.tests.test_suite_basic.test_assembly_api() | ||
# biokbase.data_api.tests.test_suite_basic.test_genome_annotation_api() | ||
# biokbase.data_api.tests.test_suite_basic.test_taxon_api() | ||
# | ||
# def extended_suite(): | ||
# import biokbase.data_api.tests.test_suite_extended | ||
# biokbase.data_api.tests.test_suite_extended.test_assembly_api() | ||
# biokbase.data_api.tests.test_suite_extended.test_genome_annotation_api() | ||
# biokbase.data_api.tests.test_suite_extended.test_taxon_api() | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
""" | ||
Shared by test code | ||
""" | ||
__author__ = 'Dan Gunter <dkgunter@lbl.gov>' | ||
__date__ = '8/11/15' | ||
|
||
import logging | ||
|
||
from biokbase.data_api.assembly import AssemblyAPI | ||
|
||
can_connect = False | ||
services = { | ||
"workspace_service_url": "https://ci.kbase.us/services/ws/", | ||
"shock_service_url": "https://ci.kbase.us/services/shock-api/", | ||
} | ||
genome = 'PrototypeReferenceGenomes/kb|g.3157' | ||
|
||
def setup(): | ||
global can_connect | ||
|
||
logging.basicConfig() | ||
_log = logging.getLogger() | ||
|
||
try: | ||
_ = AssemblyAPI(services=services, ref=genome + '_assembly') | ||
can_connect = True | ||
except: | ||
_log.warn('Cannot connect to workspace! Most tests will be skipped') |
Oops, something went wrong.