MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / assert_in

Method assert_in

tests/test_jysimpleTipper.py:40–49  ·  view source on GitHub ↗
(self, tok, tips)

Source from the content-addressed store, hash-verified

38 raise AssertionError("%s not in %s", tok, tips)
39
40 def assert_in(self, tok, tips):
41 self.assertEqual(4, len(tips[0]))
42 for a in tips:
43 if tok == a[0]:
44 return a
45 s = ""
46 for a in tips:
47 s += str(a)
48 s += "\n"
49 raise AssertionError("%s not in %s" % (tok, s))
50
51 def test_imports1a(self):
52 f, tip = _pydev_jy_imports_tipper.generate_tip("java.util.HashMap")

Callers 7

test_imports1Method · 0.95
test_imports2Method · 0.95
test_imports2aMethod · 0.95
test_imports3Method · 0.95
test_tip_on_stringMethod · 0.95
test_importsMethod · 0.95
test_imports5Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected