Module ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias alias Expr Call NameLoad Str Import alias identifier Assign AttributeStore NameLoad attr Dict Str Str Call NameLoad keyword NameLoad Call NameLoad keyword NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Str Num Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Str Num Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Expr Call AttributeLoad NameLoad attr Str ListLoad Str Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Num With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Str Num Str Assign NameStore ListLoad Call NameLoad ListLoad Str Str Str Str keyword Str keyword NameLoad keyword NameLoad Call NameLoad ListLoad Str Str Str Str keyword Str keyword NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str With Call AttributeLoad NameLoad attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Str Str NameLoad ListLoad Str Str NameLoad ListLoad Str Str NameLoad ListLoad Str Str NameLoad ListLoad Str Str NameLoad ListLoad Str Str NameLoad ListLoad Str Str NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str With Call AttributeLoad NameLoad attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str With Call AttributeLoad NameLoad attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str ListLoad Str Str Str ListLoad Str ListLoad Str Str Str ListLoad Str Str Str Call AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad NameLoad NameLoad If CompareEq NameLoad Str body ImportFrom alias Expr Call NameLoad NameLoad keyword NameLoad
N/A __future__ absolute_import salttesting skipIf TestCase salttesting.helpers ensure_in_syspath salttesting.mock NO_MOCK NO_MOCK_REASON MagicMock patch call N/A N/A ensure_in_syspath ../../ N/A salt.modules.rvm rvm N/A N/A rvm __salt__ N/A cmd.has_exec config.option N/A MagicMock return_value True N/A MagicMock return_value None TestRvmModule N/A TestCase N/A test_rvm N/A N/A self N/A N/A N/A mock N/A MagicMock return_value N/A retcode stdout 0 N/A N/A N/A patch dict N/A rvm __salt__ N/A cmd.run_all mock N/A N/A N/A N/A rvm _rvm N/A install 1.9.3 N/A N/A N/A mock assert_called_once_with N/A /usr/local/rvm/bin/rvm install 1.9.3 runas None cwd None python_shell False N/A test_rvm_do N/A N/A self N/A N/A N/A mock N/A MagicMock return_value N/A retcode stdout 0 stdout N/A N/A N/A patch dict N/A rvm __salt__ N/A cmd.run_all mock N/A N/A N/A N/A rvm _rvm_do 1.9.3 N/A gemset list N/A N/A N/A mock assert_called_once_with N/A /usr/local/rvm/bin/rvm 1.9.3 do gemset list runas None cwd None python_shell False N/A test_install N/A N/A self N/A N/A N/A mock N/A MagicMock return_value N/A retcode 0 N/A N/A N/A patch dict N/A rvm __salt__ N/A cmd.run_all mock N/A N/A N/A N/A rvm install N/A N/A N/A mock assert_called_once_with curl -Ls https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer | bash -s stable runas None python_shell True N/A test_install_ruby_nonroot N/A N/A self N/A N/A N/A mock N/A MagicMock return_value N/A retcode stdout 0 stdout N/A expected N/A N/A call N/A /usr/local/rvm/bin/rvm autolibs disable 2.0.0 runas rvm cwd None python_shell False N/A call N/A /usr/local/rvm/bin/rvm install --disable-binary 2.0.0 runas rvm cwd None python_shell False N/A N/A N/A patch dict N/A rvm __salt__ N/A cmd.run_all mock N/A N/A N/A N/A rvm install_ruby 2.0.0 runas rvm N/A N/A N/A self assertEqual N/A mock call_args_list expected N/A test_list N/A N/A self N/A N/A N/A list_output 
rvm rubies

   jruby-1.6.5.1 [ amd64 ]
   ree-1.8.7-2011.03 [ x86_64 ]
   ree-1.8.7-2011.12 [ x86_64 ]
=* ree-1.8.7-2012.02 [ x86_64 ]
   ruby-1.9.2-p180 [ x86_64 ]
   ruby-1.9.3-p125 [ x86_64 ]
   ruby-head [ x86_64 ]

# => - current
# =* - current && default
#  * - default

 N/A N/A N/A patch object rvm _rvm mock_method N/A N/A N/A mock_method return_value list_output N/A N/A N/A self assertEqual N/A N/A jruby 1.6.5.1 False N/A ree 1.8.7-2011.03 False N/A ree 1.8.7-2011.12 False N/A ree 1.8.7-2012.02 True N/A ruby 1.9.2-p180 False N/A ruby 1.9.3-p125 False N/A ruby head False N/A N/A rvm list_ N/A test_gemset_list N/A N/A self N/A N/A N/A output 
gemsets for ree-1.8.7-2012.02 (found in /usr/local/rvm/gems/ree-1.8.7-2012.02)
   global
   bar
   foo

 N/A N/A N/A patch object rvm _rvm_do mock_method N/A N/A N/A mock_method return_value output N/A N/A N/A self assertEqual N/A global bar foo N/A N/A rvm gemset_list N/A test_gemset_list_all N/A N/A self N/A N/A N/A output 

gemsets for ruby-1.9.3-p125 (found in /usr/local/rvm/gems/ruby-1.9.3-p125)
   9bar
   9foo
   global


gemsets for ruby-head (found in /usr/local/rvm/gems/ruby-head)
   global
   headbar
   headfoo


gemsets for jruby-1.6.5.1 (found in /usr/local/rvm/gems/jruby-1.6.5.1)
   global
   jbar
   jfoo


gemsets for ruby-1.9.2-p180 (found in /usr/local/rvm/gems/ruby-1.9.2-p180)
   global


 N/A N/A N/A patch object rvm _rvm_do mock_method N/A N/A N/A mock_method return_value output N/A N/A N/A self assertEqual N/A jruby-1.6.5.1 ruby-1.9.2-p180 ruby-1.9.3-p125 ruby-head N/A global jbar jfoo N/A global N/A 9bar 9foo global N/A global headbar headfoo N/A N/A rvm gemset_list_all N/A N/A N/A skipIf NO_MOCK NO_MOCK_REASON N/A N/A __name__ __main__ N/A integration run_tests N/A N/A run_tests TestRvmModule needs_daemon False