Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario committed Feb 17, 2023
1 parent 4340bb5 commit 0ed09cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/flytekit/unit/cli/pyflyte/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def remote():
flyte_remote._client = mock_client
return flyte_remote

#@mock.patch(")

def test_pyflyte_run_wf(remote):
with mock.patch("flytekit.clis.sdk_in_container.helpers.get_and_save_remote_with_click_context"):
runner = CliRunner()
Expand Down
2 changes: 2 additions & 0 deletions tests/flytekit/unit/core/test_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
from flytekit.models.core.identifier import SignalIdentifier, WorkflowExecutionIdentifier
from flytekit.remote.remote import FlyteRemote


@pytest.fixture
def remote():
flyte_remote = FlyteRemote(config=Config.auto(), default_project="p1", default_domain="d1")
flyte_remote._client_initialized = True
return flyte_remote


def test_remote_list_signals(remote):
ctx = FlyteContextManager.current_context()
wfeid = WorkflowExecutionIdentifier("p", "d", "execid")
Expand Down

0 comments on commit 0ed09cf

Please sign in to comment.