def progress_for(self, user):
        try:
            # Look for an existing progress record...
            p = Progress.objects.get(user=user, badge=self)
        except Progress.DoesNotExist:
            # If none found, create a new one but don't save it yet.
            p = Progress(user=user, badge=self)
        return p
L{SynchronousTestCase.assertTrue} returns its argument if its argument
dataset/ETHPy150Open mozilla/django-badger/badger/models.py/Badge.progress_for--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/trial/test/test_assertions.py/AssertTrueTests.test_assertTrueTrue