github.com/kchristidis/fabric@v1.0.4-0.20171028114726-837acd08cde1/bddtests/templates/html/composition-py.html (about) 1 <!-- 2 # 3 # Copyright IBM Corp. All Rights Reserved. 4 # 5 # SPDX-License-Identifier: Apache-2.0 6 # 7 --> 8 <div> 9 {% set msgClassModule = directory.__class__.__module__ %} 10 {% set msgClassName = directory.__class__.__name__ %} 11 {% set msgVarName = [msgClassName[0]|lower,msgClassName[1:]]|join('') %} 12 <div class="scrollBox"> 13 <code> 14 from steps import contexthelper 15 from steps import compose 16 context = contexthelper.Context() 17 composition = compose.Composition(context=context, projectName='{{ compose_project_name }}', composeFilesYaml='{{ docker_compose_yml_file }}', register_and_up=False) 18 19 </code> 20 </div> 21 </div>