Beispiel #1
0
 def test_list_(self):
     '''
     Test for list the installable versions of ruby.
     '''
     with patch.object(rbenv, '_rbenv_exec', return_value='A\nB\nCD\n'):
         self.assertListEqual(rbenv.list_(), ['A', 'B', 'CD'])
Beispiel #2
0
 def test_list_(self):
     """
     Test for list the installable versions of ruby.
     """
     with patch.object(rbenv, "_rbenv_exec", return_value="A\nB\nCD\n"):
         self.assertListEqual(rbenv.list_(), ["A", "B", "CD"])
Beispiel #3
0
 def test_list_(self):
     """
     Test for list the installable versions of ruby.
     """
     with patch.object(rbenv, "_rbenv_exec", return_value="A\nB\nCD\n"):
         self.assertListEqual(rbenv.list_(), ["A", "B", "CD"])
Beispiel #4
0
 def test_list_(self):
     '''
     Test for list the installable versions of ruby.
     '''
     with patch.object(rbenv, '_rbenv_exec', return_value='A\nB\nCD\n'):
         self.assertListEqual(rbenv.list_(), ['A', 'B', 'CD'])