Esempio n. 1
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
Esempio n. 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