예제 #1
0
파일: test_v3.py 프로젝트: k4veri/keystone
 def generate_paste_config(self):
     new_paste_file = None
     try:
         new_paste_file = tests.generate_paste_config(self.EXTENSION_TO_ADD)
     except AttributeError:
         # no need to report this error here, as most tests will not have
         # EXTENSION_TO_ADD defined.
         pass
     finally:
         return new_paste_file
예제 #2
0
 def generate_paste_config(self):
     new_paste_file = None
     try:
         new_paste_file = tests.generate_paste_config(self.EXTENSION_TO_ADD)
     except AttributeError:
         # no need to report this error here, as most tests will not have
         # EXTENSION_TO_ADD defined.
         pass
     finally:
         return new_paste_file