Exemplo n.º 1
0
 def setUp(self):
     super(DirRecursiveRefreshTest, self).setUp()
     # Prepare our fixture.
     self.client_id = rdf_client.ClientURN("C.0000000000000001")
     fixture_test_lib.ClientFixture(self.client_id, self.token)
     gui_test_lib.CreateFileVersions(self.client_id, self.token)
     self.RequestAndGrantClientApproval("C.0000000000000001")
Exemplo n.º 2
0
    def setUp(self):
        super(TestFileView, self).setUp()
        # Prepare our fixture.
        self.client_id, self.unapproved_client_id = [
            u.Basename() for u in self.SetupClients(2)
        ]

        fixture_test_lib.ClientFixture(self.client_id, self.token)
        gui_test_lib.CreateFileVersions(self.client_id, self.token)
        self.RequestAndGrantClientApproval(self.client_id)