Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/bcgsc/pori_graphkb_python
Browse files Browse the repository at this point in the history
…into refactor/lint_black
  • Loading branch information
dustinbleile committed Dec 4, 2023
2 parents 4be9cdd + f3a17ae commit 5fe32cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include_trailing_comma = true
[metadata]
name = graphkb
url = https://github.com/bcgsc/pori_graphkb_python
version = 1.13.0
version = 1.15.0
author_email = [email protected]
description = python adapter for interacting with the GraphKB API
long_description = file: README.md
Expand Down
6 changes: 4 additions & 2 deletions tests/test_statement.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@

from graphkb import statement

from .test_match import conn
from .test_match import ( # noqa - 'F401 imported but unused' is being fooled by pytest conventions
conn,
)

EXCLUDE_INTEGRATION_TESTS = os.environ.get("EXCLUDE_INTEGRATION_TESTS") == "1"

Expand Down Expand Up @@ -86,7 +88,7 @@ def test_custom_categories(self, graphkb_conn):

@pytest.mark.skipif(EXCLUDE_INTEGRATION_TESTS, reason="excluding long running integration tests")
class TestStatementMatch:
def test_truncating_categories(self, conn):
def test_truncating_categories(self, conn): # noqa - pytest fixture, not redefinition
variant = {"@class": "CategoryVariant", "@rid": "#161:429", "displayName": "RB1 truncating"}
statements = statement.get_statements_from_variants(conn, [variant])
assert statements

0 comments on commit 5fe32cf

Please sign in to comment.