drydock/tests/unit
Scott Hussey 01c62f563b Add design_ref to template context
For Bootactions that use the template pipeline
segment, add the `action.design_ref` field to the
context for Jinja2.

- Add design_ref to the render_assets method signature
- Update calls to include the contextual design_ref
- Add unit test for design_ref rendering

Change-Id: I81017e050b6f1c0a3e66ee824ecb8ffd154e45dd
2018-01-04 21:16:12 -06:00
..
test_api_health.py Add Versions API to Drydock 2017-11-07 07:36:16 -06:00
test_api_validation.py Condense yamls files for Drydock Validation Rules 2018-01-03 11:03:01 -05:00
test_api_versions.py Add Versions API to Drydock 2017-11-07 07:36:16 -06:00
test_apienforcer.py Refactor orchestrator 2017-10-26 15:00:39 -05:00
test_auth_middleware.py Refactor orchestrator 2017-10-26 15:00:39 -05:00
test_bootaction_asset_render.py Add design_ref to template context 2018-01-04 21:16:12 -06:00
test_bootaction_pipeline.py Implement bootaction API 2017-11-20 16:29:54 -06:00
test_bootaction_scoping.py Add deckhand API integration 2017-12-01 11:49:03 -06:00
test_bootaction_tarbuilder.py Add design_ref to template context 2018-01-04 21:16:12 -06:00
test_design_inheritance.py Boot action signal API 2017-11-20 16:29:57 -06:00
test_drydock_client.py Refactor orchestrator 2017-10-26 15:00:39 -05:00
test_ingester.py Add deckhand API integration 2017-12-01 11:49:03 -06:00
test_ingester_bootaction.py Add design_ref to template context 2018-01-04 21:16:12 -06:00
test_ingester_invalidation.py Add deckhand API integration 2017-12-01 11:49:03 -06:00
test_ingester_rack_model.py Add deckhand API integration 2017-12-01 11:49:03 -06:00
test_maasdriver_calculate_bytes.py Refactor orchestrator 2017-10-26 15:00:39 -05:00
test_models.py Refactor orchestrator 2017-10-26 15:00:39 -05:00
test_orch_node_filter.py YAPF catchup 2017-12-15 15:33:14 -06:00
test_policy_engine.py Add Validation API to Drydock 2017-12-04 10:44:33 -06:00
test_reference_resolver.py Add deckhand API integration 2017-12-01 11:49:03 -06:00
test_render_routedomain.py Implement routedomain support 2017-12-14 13:45:38 -06:00
test_schema_validation.py YAPF catchup 2017-12-15 15:33:14 -06:00
test_task_node_filter.py Add Unit/Integration tests for Dryd-33 2018-01-03 10:52:52 -05:00
test_validate_design.py Rational Boot Storage: Drydock validator 2017-12-14 09:31:55 -05:00
test_validation_rule_boot_storage.py Condense yamls files for Drydock Validation Rules 2018-01-03 11:03:01 -05:00
test_validation_rule_ip_locality.py Condense yamls files for Drydock Validation Rules 2018-01-03 11:03:01 -05:00
test_validation_rule_mtu_rational.py Condense yamls files for Drydock Validation Rules 2018-01-03 11:03:01 -05:00
test_validation_rule_network_bond.py Condense yamls files for Drydock Validation Rules 2018-01-03 11:03:01 -05:00
test_validation_rule_network_trunking.py Condense yamls files for Drydock Validation Rules 2018-01-03 11:03:01 -05:00
test_validation_rule_no_duplicate_IPs.py Condense yamls files for Drydock Validation Rules 2018-01-03 11:03:01 -05:00
test_validation_rule_storage_partitioning.py Condense yamls files for Drydock Validation Rules 2018-01-03 11:03:01 -05:00
test_validation_rule_storage_sizing.py Condense yamls files for Drydock Validation Rules 2018-01-03 11:03:01 -05:00
test_validation_rule_unique_network.py Condense yamls files for Drydock Validation Rules 2018-01-03 11:03:01 -05:00