MCPcopy Create free account
hub / github.com/bpython/bpython / test_simple

Method test_simple

bpython/test/test_line_properties.py:318–327  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

316 self.func = current_import
317
318 def test_simple(self):
319 self.assertAccess("import <path|>")
320 self.assertAccess("import <p|ath>")
321 self.assertAccess("import |path")
322 self.assertAccess("import path, <another|>")
323 self.assertAccess("import path another|")
324 self.assertAccess("if True: import <path|>")
325 self.assertAccess("if True: import <xml.dom.minidom|>")
326 self.assertAccess("if True: import <xml.do|m.minidom>")
327 self.assertAccess("if True: import <xml.do|m.minidom> as something")
328
329
330class TestMethodDefinitionName(LineTestCase):

Callers

nothing calls this directly

Calls 1

assertAccessMethod · 0.80

Tested by

no test coverage detected