Here are the examples of the python api mock.sentinel.v2_mappings taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
0
Example 1
Project: paasta Source File: test_generate_deployments_for_service.py
def test_get_deployments_dict():
branch_mappings = {
'app1': {
'docker_image': 'image1',
'desired_state': 'start',
'force_bounce': '1418951213',
},
'app2': {
'docker_image': 'image2',
'desired_state': 'stop',
'force_bounce': '1412345678',
},
}
v2_mappings = mock.sentinel.v2_mappings
assert generate_deployments_for_service.get_deployments_dict_from_deploy_group_mappings(
branch_mappings, v2_mappings) == {
'v1': branch_mappings,
'v2': mock.sentinel.v2_mappings,
}