def test_empty(self): self.assertEqual(config._indentLevel(""), 0)
def _testIndentLevel(self, depth): line = self.indent * depth + "abc" self.assertEqual(config._indentLevel(line, self.indent), depth)