<s> '''<STR_LIT>''' <EOL> from __future__ import absolute_import <EOL> import os <EOL> from salttesting . helpers import ensure_in_syspath <EOL> ensure_in_syspath ( '<STR_LIT>' ) <EOL> import integration <EOL> class RabbitVHostTestCase ( integration . ModuleCase , <EOL> integration . SaltReturnAssertsMixIn ) : <EOL> '''<STR_LIT>''' <EOL> def setUp ( self ) : <EOL> super ( RabbitVHostTestCase , self ) . setUp ( ) <EOL> rabbit_installed = self . run_function ( '<STR_LIT>' , [ '<STR_LIT>' ] ) <EOL> if not rabbit_installed : <EOL> self . skipTest ( '<STR_LIT>' ) <EOL> if os . geteuid ( ) != <NUM_LIT:0> : <EOL> self . skipTest ( '<STR_LIT>' ) <EOL> def test_present ( self ) : <EOL> '''<STR_LIT>''' <EOL> ret = self . run_state ( <EOL> '<STR_LIT>' , name = '<STR_LIT>' , test = True <EOL> ) <EOL> self . assertSaltFalseReturn ( ret ) <EOL> def absent ( self ) : <EOL> '''<STR_LIT>''' <EOL> ret = self . run_state ( <EOL> '<STR_LIT>' , name = '<STR_LIT>' , test = True <EOL> ) <EOL> self . assertSaltFalseReturn ( ret ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> from integration import run_tests <EOL> run_tests ( RabbitVHostTestCase ) </s>
