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