view tests/servings/test_debug_info.serve @ 391:3e4bb57d8506

tests: Add support for testing the Chef server. * Make the server be functional without calling `getWsgiApp`. * Add new type of test files that use a Werkzeug test client.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 17 May 2015 10:48:41 -0700
parents
children dc0988d937b3
line wrap: on
line source

---
url: /foo
in: 
    pages/foo.md: |
        BLAH
        {{piecrust.debug_info}}
out: BLAH
---
url: /foo?!debug
in:
    pages/foo.md: |
        BLAH
        {{piecrust.debug_info}}
out_contains: |
    BLAH
    <div id="piecrust-debug-info"