Beispiel #1
0
 def setUp(self):
     super(CatalogHackTests, self).setUp()
     self.hacks = discover._VersionHacks()
     self.hacks.add_discover_hack(self.IDENTITY, re.compile('/v2.0/?$'),
                                  '/')
Beispiel #2
0
 def setUp(self):
     super(CatalogHackTests, self).setUp()
     self.hacks = discover._VersionHacks()
     self.hacks.add_discover_hack(self.IDENTITY,
                                  re.compile('/v2.0/?$'),
                                  '/')