Skip to content

Commit

Permalink
add nopycln inside new tests
Browse files Browse the repository at this point in the history
  • Loading branch information
araghukas committed Nov 24, 2023
1 parent cf6e48a commit 0491ab1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/covalent_tests/programmatic/commands_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
def test_is_covalent_running(mocker):
"""Check that `is_covalent_running` returns True when the server is running."""
try:
from covalent_dispatcher._cli.service import _read_pid
from covalent_dispatcher._cli.service import _read_pid # nopycln: import
except (ModuleNotFoundError, ImportError):
pytest.xfail("`covalent_dispatcher` not installed")

Expand All @@ -45,7 +45,7 @@ def test_is_covalent_running_import_error(mocker):
from covalent._programmatic.commands import _MISSING_SDK_WARNING

try:
from covalent_dispatcher._cli.service import _read_pid
from covalent_dispatcher._cli.service import _read_pid # nopycln: import
except (ModuleNotFoundError, ImportError):
pytest.xfail("`covalent_dispatcher` not installed")

Expand Down

0 comments on commit 0491ab1

Please sign in to comment.