Ejemplo n.º 1
0
 def setUpClass(cls):
   super(DirectorTestCase, cls).setUpClass()
   # Invoking the _error_name decorator will register the name as a valid
   # error name.
   for name in ["test-error", "test-other-error"]:
     errors._error_name(name)
Ejemplo n.º 2
0
 def setUpClass(cls):
     # Invoking the _error_name decorator will register the name as a valid
     # error name.
     for name in ["test-error", "test-other-error"]:
         errors._error_name(name)
Ejemplo n.º 3
0
 def setUpClass(cls):
   # Invoking the _error_name decorator will register the name as a valid
   # error name.
   for name in ["test-error", "test-other-error"]:
     errors._error_name(name)