Commits

Olemis Lang  committed 82d1502

Trac RPC [ refs rpc-285 ] : Rename admin test methods to make them look more obvious in test reports

  • Participants
  • Parent commits 87ac94a

Comments (0)

Files changed (1)

File trunk/tracrpc/tests/admin.py

     def tearDown(self):
         TracRpcTestCase.tearDown(self)
 
-    def test_create_get_delete_as_user(self):
+    def test_admin_ticket_crud_as_user(self):
         timestamp = datetime.datetime(2000, 1, 1, 10, 20, 30)
         timestamp = xmlrpclib.DateTime(to_datetime(timestamp, utc))
         r = self.admin.admin.exec_as([{'methodName' : 'ticket.create', 
 #        self.assertEquals(0, self.admin.ticket.delete(2))
 #        self.assertEquals(0, self.admin.ticket.delete(3))
 
-    def test_getRecentChanges_timestamp(self):
+    def test_admin_ticket_getRecentChanges(self):
         timestamp1 = datetime.datetime(2000, 1, 1, 10, 20, 30)
         timestamp1 = xmlrpclib.DateTime(to_datetime(timestamp1, utc))
         r = self.admin.admin.exec_as([{'methodName' : 'ticket.create', 
             self.admin.ticket.delete(tid1)
             self.admin.ticket.delete(tid2)
 
-    def test_admin_update_author(self):
+    def test_admin_ticket_update_author(self):
         tid = self.admin.ticket.create("", "one", {})
 
         r = self.admin.admin.exec_as([{'methodName' : 'ticket.update', 
     def tearDown(self):
         TracRpcTestCase.tearDown(self)
 
-    def test_admin_attachments(self):
+    def test_admin_wiki_attachments(self):
         # Note: Quite similar to the tracrpc.tests.json.JsonTestCase.test_binary
         image_url = os.path.join(self._testenv.trac_src, 'trac',
                              'htdocs', 'feed.png')