Ejemplo n.º 1
0
 def test_indent(self):
     assert indentation('str\nhi', '$', 1) == '$str\n$hi'
Ejemplo n.º 2
0
 def test_count(self):
     assert indentation('str', '$', 0) == 'str'
Ejemplo n.º 3
0
 def test_default_count(self):
     assert indentation('hey\nsup', ' ') == ' hey\n sup'
Ejemplo n.º 4
0
 def test_indent(self):
     assert indentation('str\nhi', '$', 1) == '$str\n$hi'
Ejemplo n.º 5
0
 def test_count(self):
     assert indentation('str', '$', 0) == 'str'
Ejemplo n.º 6
0
 def test_default_count(self):
     assert indentation('hey\nsup', ' ') == ' hey\n sup'