Skip to content

Commit

Permalink
Update pytests based on latest data
Browse files Browse the repository at this point in the history
Remove 2.7 test environment

2.7 has been removed since June 19
  • Loading branch information
zhx828 committed Nov 1, 2023
1 parent 2bee6c8 commit a0904fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
python-version: [ '2.7','3.7','3.8','3.9','3.10','3.11' ]
python-version: [ '3.7','3.8','3.9','3.10','3.11' ]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions test_Annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def test_cna():
assert len(annotation) == NUMBER_OF_ANNOTATION_COLUMNS
assert annotation[MUTATION_EFFECT_INDEX] == 'Gain-of-function'
assert annotation[ONCOGENIC_INDEX] == 'Oncogenic'
assert annotation[HIGHEST_LEVEL_INDEX] == 'LEVEL_2'
assert annotation[HIGHEST_LEVEL_INDEX] == 'LEVEL_1'

annotation = annotations[3]
assert len(annotation) == NUMBER_OF_ANNOTATION_COLUMNS
Expand All @@ -304,7 +304,7 @@ def check_brca2_s1882_without_cancertype(annotation):
assert annotation[MUTATION_EFFECT_INDEX] == 'Likely Loss-of-function'
assert annotation[ONCOGENIC_INDEX] == 'Likely Oncogenic'
assert annotation[HIGHEST_LEVEL_INDEX] == 'LEVEL_1'
assert annotation[LEVEL_1_INDEX] == 'Olaparib,Olaparib+Bevacizumab,Rucaparib,Niraparib'
assert annotation[LEVEL_1_INDEX] == 'Olaparib,Olaparib+Bevacizumab,Rucaparib,Olaparib+Abiraterone+Prednisone,Niraparib,Olaparib+Abiraterone+Prednisolone,Talazoparib+Enzalutamide'
assert annotation[LEVEL_2_INDEX] == 'Olaparib,Rucaparib,Niraparib'
assert annotation[LEVEL_3A_INDEX] == 'Olaparib,Talazoparib'

Expand Down

0 comments on commit a0904fc

Please sign in to comment.