コード例 #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
ファイル: test_v3.py プロジェクト: carrierstack/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