72b91fd864066052467341dd960218a8ffe3be73,accounts/tests/test_profile.py,UserEditProfile,test_edit_user_profile,#UserEditProfile#,108

Before Change


        self.assertEqual(os.path.exists(user.profile.locations("avatar.L.path")), True)

    def test_edit_user_profile(self):
        User.objects.create_user("testuser", password="testpass")
        self.client.login(username="testuser", password="testpass")
        self.client.post("/home/edit/", {
            "profile-home_page": "http://www.example.com/",
            "profile-username": "testuser",

After Change


        self.assertEqual(os.path.exists(user.profile.locations("avatar.L.path")), True)

    def test_edit_user_profile(self):
        user = User.objects.create_user("testuser")
        self.client.force_login(user)
        self.client.post("/home/edit/", {
            "profile-home_page": "http://www.example.com/",
            "profile-username": "testuser",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: MTG/freesound
Commit Name: 72b91fd864066052467341dd960218a8ffe3be73
Time: 2019-05-16
Author: alastair.porter@upf.edu
File Name: accounts/tests/test_profile.py
Class Name: UserEditProfile
Method Name: test_edit_user_profile


Project Name: MTG/freesound
Commit Name: 72b91fd864066052467341dd960218a8ffe3be73
Time: 2019-05-16
Author: alastair.porter@upf.edu
File Name: accounts/tests/test_profile.py
Class Name: UserEditProfile
Method Name: test_edit_user_avatar


Project Name: MTG/freesound
Commit Name: 72b91fd864066052467341dd960218a8ffe3be73
Time: 2019-05-16
Author: alastair.porter@upf.edu
File Name: accounts/tests/test_profile.py
Class Name: UserEditProfile
Method Name: test_edit_user_email_settings