Exemplo n.º 1
0
 def setUp(self):
     self.backend = backends.BaseBackend()
     self.headers = {
         'User-Agent': 'Anitya {0} at upstream-monitoring.org'.format(
             anitya.app.__version__),
         'From': anitya.app.APP.config.get('ADMIN_EMAIL'),
     }
Exemplo n.º 2
0
 def setUp(self):
     super(BaseBackendTests, self).setUp()
     self.backend = backends.BaseBackend()
     self.headers = {
         "User-Agent":
         "Anitya {0} at release-monitoring.org".format(
             anitya.app.__version__),
         "From":
         config.get("ADMIN_EMAIL"),
     }