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