Closed marshwiggle closed 5 years ago
Hi @marshwiggle, I agree -- as we have moved the content of the book onwards to a new version of Django, some of the tests have broken. This is our next job, and for now, we have taken the tests out. We'll be looking to reintroduce them soon, so hopefully everything will be able to pass.
Thanks for your comment. Closing for now.
Cheers David
Trying to use the test module to test the results which I've got after completing Chapter 4.
The content of my about.html is the following:
So, when I start the module, I get a buch of errors:
I've tested my app in the browser and it seems to be working, so perhaps, there are some bugs in the tests.
For example, 'test_about_contains_create_message' method of the 'AboutPageTests' object is almost identical to the method with the same name in the Chapter4ViewTests object, but it raises no error, and that's because it has a type hint (i.e. "b" character) before the string in the last line.