4fba45fe94a48f0287379e21ac2a0b50eaa6f642,run/events-storage/main_test.py,,,#,23
Before Change
required_fields = ["Ce-Id", "Ce-Source", "Ce-Type", "Ce-Specversion"]
header_data = {field: str(uuid4()) for field in required_fields}
@pytest.fixture
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():
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
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:
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: danforthcenter/plantcv
Commit Name: debc0119477659ebb58124a860479d61d87effe5
Time: 2017-04-18
Author: noahfahlgren@gmail.com
File Name: plantcv/rgb2gray_lab.py
Class Name:
Method Name: rgb2gray_lab
Project Name: danforthcenter/plantcv
Commit Name: dfecea486703d727905657b2dce890664dd1ba72
Time: 2017-04-18
Author: noahfahlgren@gmail.com
File Name: plantcv/rgb2gray_hsv.py
Class Name:
Method Name: rgb2gray_hsv