32
32
self.assertEquals([(['cd', 'trunk'], None, None)],
33
33
script._script_to_commands('cd trunk'))
37
self.assertEquals([(['bzr', 'commit', '-m', 'two words'], None, None)],
42
self.assertEquals([(['bzr', 'commit', '-m', 'two words'], None, None)],
35
45
def test_command_with_input(self):
36
46
self.assertEquals([(['cat', '>file'], ['content\n'], None)],
37
47
script._script_to_commands('cat >file\n<content\n'))