Describe the bug
=================================== FAILURES ===================================
________________________ test_get_toaster_with_typehint ________________________
def test_get_toaster_with_typehint():
res = cli.get('/see-toast-with-typehint', follow_redirects=False)
> assert 'Toast get' in res.text
E assert 'Toast get' in ' <!doctype html>\n <html>\n <head>\n <title>Hello, world!</title>\n <link rel="canonical" href="https://tes...ad>\n <body>\n<main class="container"> <h1>Hello, world!</h1>\n <p>{}</p>\n</main> </body>\n </html>\n'
E + where ' <!doctype html>\n <html>\n <head>\n <title>Hello, world!</title>\n <link rel="canonical" href="https://tes...ad>\n <body>\n<main class="container"> <h1>Hello, world!</h1>\n <p>{}</p>\n</main> </body>\n </html>\n' = <Response [200 OK]>.text
tests/test_toaster.py:50: AssertionError
=========================== short test summary info ============================
FAILED tests/test_toaster.py::test_get_toaster_with_typehint - assert 'Toast get' in ' <!doctype html>\n <html>\n <head>\n <title>He...
========================= 1 failed, 4 passed in 0.36s ==========================
Minimal Reproducible Example
I'm simply running the tests with pytest with Nix. If you cannot reproduce, I guess we'll have to dive deeper.
Expected behavior
No failure.
Environment Information
- fastlite version: 0.2.4
- fastcore version: 1.12.16
- fasthtml version: 0.12.47
Confirmation
Describe the bug
Minimal Reproducible Example
I'm simply running the tests with
pytestwith Nix. If you cannot reproduce, I guess we'll have to dive deeper.Expected behavior
No failure.
Environment Information
Confirmation