Пример #1
0
 def setUp(self):
     super(CatalogHackTests, self).setUp()
     self.hacks = _discover._VersionHacks()
     self.hacks.add_discover_hack(self.IDENTITY, re.compile('/v2.0/?$'),
                                  '/')
Пример #2
0
 def setUp(self):
     super(CatalogHackTests, self).setUp()
     self.hacks = _discover._VersionHacks()
     self.hacks.add_discover_hack(self.IDENTITY,
                                  re.compile('/v2.0/?$'),
                                  '/')