Skip to content

Commit

Permalink
Merge pull request #133 from fabianegli/use-pytest
Browse files Browse the repository at this point in the history
use standard pytest file naming convention
  • Loading branch information
ypriverol authored Jul 29, 2022
2 parents f9c7eae + ed5dba9 commit 1e663d1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: |
python setup.py install
pip install pytest
python sdrf_pipelines/tests/sdrfchecker_tests.py
python sdrf_pipelines/tests/test_sdrfchecker.py
- name: Test OpenMS converter
run: |
cd sdrf_pipelines
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: |
pip install pytest
python setup.py install
python sdrf_pipelines/tests/sdrfchecker_tests.py
python sdrf_pipelines/tests/test_sdrfchecker.py
- name: Test OpenMS converter
run: |
cd sdrf_pipelines
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ def test_bioontologies():
print(ols_terms)

ols_client = SlimOlsClient()
for a in ols_terms:
terms = ols_client.get_term_from_url(a["ols_url"], ontology="ncbitaxon")
[print(x) for x in terms]
for ols_term in ols_terms:
terms = ols_client.get_term_from_url(ols_term["ols_url"], ontology="ncbitaxon")
print(*terms, sep="\n")

keyword = "Lung adenocarcinoma"
client = Zooma()
Expand Down

0 comments on commit 1e663d1

Please sign in to comment.