This will work, but you'd get more specific debugging information if it used `self.assertIn(result['id'], monthly_expected_ids)`. According to http://docs.python.org/2/library/unittest.html#assert-methods, it doesn't exist until 2.7 but that's why we use unittest2; so python 2.6 can have those fancy assertions as well. This assertion is used at least one other time.