<s> from __future__ import print_function <EOL> import tests <EOL> import vcr <EOL> from pyVim import connect <EOL> class ManagedObjectTests ( tests . VCRTestBase ) : <EOL> @ vcr . use_cassette ( '<STR_LIT>' , <EOL> cassette_library_dir = tests . fixtures_path , <EOL> record_mode = '<STR_LIT>' ) <EOL> def test_root_folder_parent ( self ) : <EOL> si = connect . SmartConnect ( host = '<STR_LIT>' , <EOL> user = '<STR_LIT>' , <EOL> pwd = '<STR_LIT>' ) <EOL> root_folder = si . content . rootFolder <EOL> self . assertTrue ( hasattr ( root_folder , '<STR_LIT>' ) ) <EOL> self . assertTrue ( root_folder . parent is None ) </s>
