def test_conversion(self): assert_equal( combine_cmd_lists( ['echo "Hello World!"'], None, [('mkdir', '/tmp/baz')]), [['echo', 'Hello World!'], ['mkdir', '/tmp/baz']])
def test_empty(self): assert_equal(combine_cmd_lists(), [])
def test_concatenation(self): assert_equal( combine_cmd_lists( [['echo', 'foo']], None, (['mkdir', 'bar'], ['rmdir', 'bar'])), [['echo', 'foo'], ['mkdir', 'bar'], ['rmdir', 'bar']])
def test_conversion(self): self.assertEqual( combine_cmd_lists(['echo "Hello World!"'], None, [("mkdir", "/tmp/baz")]), [["echo", "Hello World!"], ["mkdir", "/tmp/baz"]], )
def test_empty(self): self.assertEqual(combine_cmd_lists(), [])
def test_concatenation(self): self.assertEqual( combine_cmd_lists([["echo", "foo"]], None, (["mkdir", "bar"], ["rmdir", "bar"])), [["echo", "foo"], ["mkdir", "bar"], ["rmdir", "bar"]], )
def test_conversion(self): self.assertEqual( combine_cmd_lists( ['echo "Hello World!"'], None, [('mkdir', '/tmp/baz')]), [['echo', 'Hello World!'], ['mkdir', '/tmp/baz']])
def test_concatenation(self): self.assertEqual( combine_cmd_lists( [['echo', 'foo']], None, (['mkdir', 'bar'], ['rmdir', 'bar'])), [['echo', 'foo'], ['mkdir', 'bar'], ['rmdir', 'bar']])