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

Method assert_args

tests/test_simpleTipper.py:197–208  ·  view source on GitHub ↗
(self, tok, args, tips)

Source from the content-addressed store, hash-verified

195 self.fail("Found: %s. Expected: %s" % (t[2], expected))
196
197 def assert_args(self, tok, args, tips):
198 if not isinstance(args, (list, tuple)):
199 args = (args,)
200
201 for a in tips[1]:
202 if tok == a[0]:
203 for arg in args:
204 if arg == a[2]:
205 return
206 raise AssertionError("%s not in %s", a[2], args)
207
208 raise AssertionError("%s not in %s", tok, tips)
209
210 def assert_in(self, tok, tips):
211 for a in tips[1]:

Callers 1

test_importsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected