django-tdd

Let’s add timezone support

Up until now we’ve gotten away with returning just the current UTC time. Lets extend our solution to accept a timezone from the user and return the current time in that timezone.

This one is all on you! What is the first test that you’d like to write?


As a user I want to receive the current time in the timezone that I provide so I can see what time it is


What tests did you write? Here’s how I got started (spoilers!)

My test concentrate on the happy path and don’t test many edge cases. Take a moment to think about other things that you could have tested.