Beispiel #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)
Beispiel #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)
Beispiel #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)