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

Method test_get_namespace

tests/test_pydev_ipython_011.py:77–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

75 eq_(self.front_end.get_namespace()["testAddExec_x"], 10)
76
77 def test_get_namespace(self):
78 assert "testGetNamespace_a" not in self.front_end.get_namespace()
79 self.add_exec("testGetNamespace_a = 10")
80 assert "testGetNamespace_a" in self.front_end.get_namespace()
81 eq_(self.front_end.get_namespace()["testGetNamespace_a"], 10)
82
83 def test_complete(self):
84 unused_text, matches = self.front_end.complete("%")

Callers

nothing calls this directly

Calls 3

eq_Function · 0.85
get_namespaceMethod · 0.45
add_execMethod · 0.45

Tested by

no test coverage detected