src/tests/pkg5unittest.py
changeset 3010 2741200f3d9e
parent 3001 03042a31cb3f
child 3014 a88a867e3a9d
--- a/src/tests/pkg5unittest.py	Wed Jan 22 18:05:41 2014 -0800
+++ b/src/tests/pkg5unittest.py	Tue Feb 04 11:53:32 2014 -0800
@@ -18,7 +18,7 @@
 # CDDL HEADER END
 #
 
-# Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.
 
 #
 # Define the basic classes that all test cases are inherited from.
@@ -3465,6 +3465,10 @@
                 ta = self.pub_ta_map[publisher]
                 return "cs1_ta%d_key.pem" % ta
 
+        def get_pub_ta(self, publisher):
+                ta = self.pub_ta_map[publisher]
+                return "ta%d" % ta
+
         def setUp(self, publishers, start_depots=True):
                 # We only have 5 usable CA certs and there are not many usecases
                 # for setting up more than 5 different SSL-secured depots.