Category Archives: Python

Pywatch: Run tests when your code changes

I’m happy to announce that pywatch is ready for use, I think. Continue reading

Posted in Programming, Projects, Python, Pywatch | 5 Comments

django-baseboard updated to 0.3

I’m happy to announce that [django-baseboard](http://pypi.python.org/pypi/django-baseboard/) has been updated to 0.3 Here’s what’s new: * Better error handling and reporting for the management commands/cron jobs * Projects are no longer required to have an RSS feed foreign key (bugfix from … Continue reading

Posted in BasecampReporting, Projects, Python, Technology | Comments Off on django-baseboard updated to 0.3

Announcing basecampreporting and django-baseboard

At [work](http://www.ajc.com), we use [Basecamp](http://www.basecamphq.com/), a lot. We use it for design projects, development projects, and projects that have no design or development components whatsoever. Our project teams like Basecamp because of its focus on communication, but we’ve found that … Continue reading

Posted in BasecampReporting, Programming, Python | Comments Off on Announcing basecampreporting and django-baseboard

Adventures in unit testing the Basecamp API

I’m working on a little side project, that I might open source once the code is less rough, which involves using the [Basecamp API](http://developer.37signals.com/basecamp/). My package uses the [Python wrapper for the API](http://pypi.python.org/pypi/BasecampWrapper/0.1) and then does some naming convention magic … Continue reading

Posted in Programming, Python | Comments Off on Adventures in unit testing the Basecamp API

Django testing tip: don’t test template output

When writing tests for [Django views](http://docs.djangoproject.com/en/dev/#the-view-layer), especially for projects at [work](http://www.ajc.com), I’ve almost completely abandoned any sort of detailed test for the template being rendered. My tests usually look something like this: def test_link_archive_should_show_published_links(self): “””Links in draft status shouldn’t appear … Continue reading

Posted in Django, Programming | 3 Comments