Loading behat.py +1 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ def init(rewrite=True): h.fab_run(role, 'cp example.behat.yml behat.yml') h.fab_run(role, 'sed -i "s@%DRUPAL_ROOT@{}@g" behat.yml'.format(site_root)) h.fab_run(role, 'sed -i "s@%URL@http://{}@g" behat.yml'.format(host)) h.fab_run(role, 'echo "127.0.0.1 {}" >> /etc/hosts'.format(host)) print green('Behat is now properly configured. The configuration file is {}/tests/behat/behat.yml'.format(workspace)) else: Loading Loading
behat.py +1 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ def init(rewrite=True): h.fab_run(role, 'cp example.behat.yml behat.yml') h.fab_run(role, 'sed -i "s@%DRUPAL_ROOT@{}@g" behat.yml'.format(site_root)) h.fab_run(role, 'sed -i "s@%URL@http://{}@g" behat.yml'.format(host)) h.fab_run(role, 'echo "127.0.0.1 {}" >> /etc/hosts'.format(host)) print green('Behat is now properly configured. The configuration file is {}/tests/behat/behat.yml'.format(workspace)) else: Loading