MCPcopy Index your code
hub / github.com/python/cpython / test_element_options

Method test_element_options

Lib/test/test_ttk/test_style.py:180–189  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

178 self.assertEqual(style.map(newname, key), value)
179
180 def test_element_options(self):
181 style = self.style
182 element_names = style.element_names()
183 self.assertNotIsInstance(element_names, str)
184 for name in element_names:
185 self.assertIsInstance(name, str)
186 element_options = style.element_options(name)
187 self.assertNotIsInstance(element_options, str)
188 for optname in element_options:
189 self.assertIsInstance(optname, str)
190
191 def test_element_create_errors(self):
192 style = self.style

Callers

nothing calls this directly

Calls 4

element_namesMethod · 0.80
assertNotIsInstanceMethod · 0.80
assertIsInstanceMethod · 0.80
element_optionsMethod · 0.80

Tested by

no test coverage detected