-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update pytests #207
Update pytests #207
Conversation
test_Annotation.py
Outdated
@@ -16,21 +16,18 @@ | |||
from AnnotatorCore import HGVSgQuery | |||
from AnnotatorCore import ReferenceGenome | |||
|
|||
ONCOKB_API_TOKEN = os.environ["ONCOKB_API_TOKEN"] | |||
ONCOKB_API_TOKEN = '5d682637-c3c8-4353-b623-347d8f8ca5c2' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you accidently committed your token.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also think the tests are failing because token was removed here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😞 I will fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@calvinlu3 the reason the tests failing is because the fork branch cannot use the main repo secret.
test_Annotation.py
Outdated
MUTATION_EFFECT_INDEX = VARIANT_EXISTS_INDEX+1 | ||
ONCOGENIC_INDEX = MUTATION_EFFECT_INDEX+2 | ||
LEVEL_1_INDEX = ONCOGENIC_INDEX+1 | ||
LEVEL_2_INDEX = LEVEL_1_INDEX+1 | ||
LEVEL_3A_INDEX = LEVEL_1_INDEX+2 | ||
HIGHEST_LEVEL_INDEX = LEVEL_1_INDEX+7 | ||
HIGHEST_DX_LEVEL_INDEX = HIGHEST_LEVEL_INDEX+7 | ||
HIGHEST_PX_LEVEL_INDEX = HIGHEST_DX_LEVEL_INDEX+5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flake8 is complaining about no spaces around +
sign.
Remove 2.7 test environment 2.7 has been removed since June 19
072efbc
to
a0904fc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
No description provided.