(self)
| 259 | self.assertHasAttr(sv, 'stack') |
| 260 | |
| 261 | def test_load_stack(self): |
| 262 | # Test the .load_stack() method against a fixed test stack. |
| 263 | # Check the test stack is assigned and the list contains the repr of them. |
| 264 | self.assertEqual(self.sv.stack, self.stack) |
| 265 | self.assertTrue('?.<module>(), line 1:' in self.sv.get(0)) |
| 266 | self.assertEqual(self.sv.get(1), '?.<module>(), line 2: ') |
| 267 | |
| 268 | def test_show_source(self): |
| 269 | # Test the .show_source() method against a fixed test stack. |
nothing calls this directly
no test coverage detected