054081f7ed595812c9a6794c31739fe8b3c601d9,django/comicsite/tests.py,ViewsTest,setUp,#ViewsTest#,91

Before Change


                                        "password1")
                
        siteadmin.is_staff = True        
        siteadmin.save()
                    
        testsite = create_comicsite_in_admin(root,"viewtest")                
        create_page_in_admin(testsite,"testpage1")
        create_page_in_admin(testsite,"testpage2")

After Change


        // to maximize test coverage.        
        self.registered_user = self._create_user({"username":"registered_user"})
                                        
        self.siteadmin = self._create_user({"username":"siteadmin",
                                            "email":"df@rt.com"}) 
                    
        self.testsite = create_comicsite_in_admin(self.siteadmin,"viewtest")                
        create_page_in_admin(self.testsite,"testpage1")
        create_page_in_admin(self.testsite,"testpage2")
                
        
    
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: comic/grand-challenge.org
Commit Name: 054081f7ed595812c9a6794c31739fe8b3c601d9
Time: 2013-07-09
Author: w.s.kerkstra@gmail.com
File Name: django/comicsite/tests.py
Class Name: ViewsTest
Method Name: setUp


Project Name: comic/grand-challenge.org
Commit Name: f9e463e74c1a8c695f1aa43cd325e675d0c7e499
Time: 2013-07-09
Author: w.s.kerkstra@gmail.com
File Name: django/comicsite/tests.py
Class Name: ViewsTest
Method Name: setUp


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 6efe8ce53b30db7dd08dd727b23d6acb11796a8a
Time: 2017-06-06
Author: samuele.tosatto@gmail.com
File Name: examples/grid_world.py
Class Name:
Method Name: