def test_show_env(self): ''' Test for Show Environment used by Oracle Client ''' with patch.object(os, 'environ', return_value={'PATH': 'PATH', 'ORACLE_HOME': 'ORACLE_HOME', 'TNS_ADMIN': 'TNS_ADMIN', 'NLS_LANG': 'NLS_LANG'}): self.assertDictEqual(oracle.show_env(), {})
def test_show_env(self): ''' Test for Show Environment used by Oracle Client ''' with patch.object(os, 'environ', return_value={ 'PATH': 'PATH', 'ORACLE_HOME': 'ORACLE_HOME', 'TNS_ADMIN': 'TNS_ADMIN', 'NLS_LANG': 'NLS_LANG' }): self.assertDictEqual(oracle.show_env(), {})
def test_show_env(self): """ Test for Show Environment used by Oracle Client """ with patch.object( os, "environ", return_value={ "PATH": "PATH", "ORACLE_HOME": "ORACLE_HOME", "TNS_ADMIN": "TNS_ADMIN", "NLS_LANG": "NLS_LANG", }, ): self.assertDictEqual(oracle.show_env(), {})