"Test-Driven Development with Python" focuses on web development, with some coverage of JavaScript (inescapable for any web programmer).
This book uses a concrete example - the development of a web site, from scratch - to teach the TDD metholology, and how it applies to web programming, from the basics of database integration and javascript, going via browser-automation tools like Selenium, to advanced (and trendy) topics like NoSQL, websockets and Async programming.