Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SOaAS
dbxref
Commits
68a2c688
Commit
68a2c688
authored
Feb 06, 2020
by
jkeller
Browse files
Update test_kegg.py
parent
7554da32
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test_kegg.py
View file @
68a2c688
...
...
@@ -5,12 +5,12 @@ from dbxref.retrieve import kegg
class
TestKegg
(
unittest
.
TestCase
):
def
test_output
(
self
):
"""Test if kegg.py gives any output"""
documents
=
kegg
.
retrieve
([{
"db"
:
"KEGG"
,
"id"
:
"K00121"
}],
basics
=
True
,
brite
=
True
,
pathway
=
True
,
dbxrefs_links
=
True
,
formula
=
True
,
reaction
=
True
,
genes
=
True
,
motif
=
True
,
orthology
=
True
,
reference
=
True
)
self
.
assertTrue
(
documents
)
def
test_brite_output_1
(
self
):
# Test parsing and saving of a graph(v,e) in an adjacency list. Tree with one root and one continuous branch
brite_example_1
=
[[
"BRITE Root1"
],
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment