-
Notifications
You must be signed in to change notification settings - Fork 298
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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
- I have read the FAQ (https://docs.fastht.ml/explains/faq.html)
- I have provided a minimal reproducible example
- I have included the versions of fastlite, fastcore, and fasthtml
- I understand that this is a volunteer open source project with no commercial support.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working