<s> import mock <EOL> from os_win import utilsfactory <EOL> from hyperv . tests import test <EOL> class HyperVBaseTestCase ( test . NoDBTestCase ) : <EOL> def setUp ( self ) : <EOL> super ( HyperVBaseTestCase , self ) . setUp ( ) <EOL> utilsfactory_patcher = mock . patch . object ( utilsfactory , '<STR_LIT>' ) <EOL> utilsfactory_patcher . start ( ) <EOL> self . addCleanup ( utilsfactory_patcher . stop ) </s>
