def test_create_profile(self):
        old_counter = UserProfile.objects.count()

        user = self.helper('create_user')
        profile = self.helper('create_profile',
                              user, UserProfile, bio=TEST_BIO)

        new_counter = UserProfile.objects.count()
        self.assert_equal(new_counter - 1, old_counter)

        self.assert_equal(profile.user, user)
        self.assert_equal(profile.bio, TEST_BIO)
dataset/ETHPy150Open playpauseandstop/tddspry/tests/testproject/testapp/tests/test_helpers.py/TestBaseHelpers.test_create_profile/original