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