Skip to content

Commit 70612e5

Browse files
committed
Remove investigation code accidentally added
1 parent a295339 commit 70612e5

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

tests/worker/test_workflow.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8331,27 +8331,3 @@ async def test_workflow_headers_with_codec(
83318331
else:
83328332
assert headers["foo"].data != b"bar"
83338333

8334-
8335-
async def test_summary_with_codec(client: Client, env: WorkflowEnvironment):
8336-
if env.supports_time_skipping:
8337-
pytest.skip("Time skipping server doesn't persist headers.")
8338-
8339-
# Make client with this codec and run a couple of existing tests
8340-
config = client.config()
8341-
config["data_converter"] = DataConverter(payload_codec=SimpleCodec())
8342-
client = Client(**config)
8343-
8344-
async with new_worker(
8345-
client,
8346-
SimpleActivityWorkflow,
8347-
SignalAndQueryWorkflow,
8348-
activities=[say_hello],
8349-
) as worker:
8350-
workflow_handle = await client.start_workflow(
8351-
SimpleActivityWorkflow.run,
8352-
"Temporal",
8353-
id=f"workflow-{uuid.uuid4()}",
8354-
task_queue=worker.task_queue,
8355-
)
8356-
assert await workflow_handle.result() == "Hello, Temporal!"
8357-
assert False

0 commit comments

Comments
 (0)