MCPcopy
hub / github.com/eudicots/Cactus / _paths_key_exists

Method _paths_key_exists

cactus/tests/test_compat.py:6–10  ·  view source on GitHub ↗
(self, obj, old_key)

Source from the content-addressed store, hash-verified

4
5class TestCompatibility(SiteTestCase):
6 def _paths_key_exists(self, obj, old_key):
7 try:
8 obj.paths[old_key]
9 except KeyError:
10 self.fail('Old key does not exist anymore: {0}'.format(old_key))
11
12 def test_compatibility(self):
13 """

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected