예제 #1
0
 def shell(self):
     """
     Construct and store a shell which has the appropriate DIRAC env saved in it
     """
     if self._shell is None:
         self._shell = Shell()
         self._shell.env.update(getDiracEnv())
     return self._shell
예제 #2
0
 def shell(self):
     """
     Construct and store a shell which has the appropriate DIRAC env saved in it
     """
     if self._shell is None:
         self._shell = super(DiracProxyInfo, self).shell
         self._shell.env.update(getDiracEnv())
     return self._shell
예제 #3
0
 def shell(self):
     """
     Construct and store a shell which has the appropriate DIRAC env saved in it
     """
     if self._shell is None:
         self._shell = Shell()
         self._shell.env.update(getDiracEnv(self.initial_requirements.dirac_env))
     return self._shell
예제 #4
0
 def _getDiracEnvStr(self):
     from GangaDirac.Lib.Utilities.DiracUtilities import getDiracEnv
     diracEnv = str(getDiracEnv())
     return diracEnv
예제 #5
0
 def _getDiracEnvStr(self):
     diracEnv = str(getDiracEnv(self.credential_requirements.dirac_env))
     return diracEnv
예제 #6
0
def test_dirac_env():
    env = getDiracEnv()
    assert any(key.startswith('DIRAC') for key in env)
예제 #7
0
 def _getDiracEnvStr(self):
     diracEnv = str(getDiracEnv())
     return diracEnv
예제 #8
0
파일: DiracFile.py 프로젝트: Erni1619/ganga
 def _getDiracEnvStr(self):
     diracEnv = str(getDiracEnv(self.credential_requirements.dirac_env))
     return diracEnv
예제 #9
0
파일: DiracFile.py 프로젝트: MannyMoo/ganga
 def _getDiracEnvStr(self):
     diracEnv = str(getDiracEnv())
     return diracEnv
예제 #10
0
def test_dirac_env():
    env = getDiracEnv()
    assert any(key.startswith('DIRAC') for key in env)
예제 #11
0
 def _getDiracEnvStr(self):
     from GangaDirac.Lib.Utilities.DiracUtilities import getDiracEnv
     diracEnv = str(getDiracEnv())
     return diracEnv