73d474237e19dc5df863739a754e6e3fa50b247f,run/events-pubsub/main_test.py,,,#,25

Before Change



required_fields = ["Ce-Id", "Ce-Source", "Ce-Type", "Ce-Specversion"]

header_data = {field: str(uuid4()) for field in required_fields}


@pytest.fixture
def client():

After Change


import main


binary_headers = {
    "ce-id": str(uuid4),
    "ce-type": "com.pytest.sample.event",
    "ce-source": "<my-test-source>",
    "ce-specversion": "1.0"
}


@pytest.fixture
def client():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 73d474237e19dc5df863739a754e6e3fa50b247f
Time: 2020-08-27
Author: 31265687+cumason123@users.noreply.github.com
File Name: run/events-pubsub/main_test.py
Class Name:
Method Name:


Project Name: dmlc/dgl
Commit Name: a4c931a9bf182b78bdffee7b71142122eceafe75
Time: 2020-08-02
Author: zhengda1936@gmail.com
File Name: python/dgl/distributed/dist_tensor.py
Class Name: DistTensor
Method Name: __init__


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 4fba45fe94a48f0287379e21ac2a0b50eaa6f642
Time: 2020-08-27
Author: 31265687+cumason123@users.noreply.github.com
File Name: run/events-storage/main_test.py
Class Name:
Method Name: