예제 #1
0
파일: test.py 프로젝트: sohonet/otrs-search
 def test_login(self):
     sessfile = '%s/%s'%(tempfile.gettempdir(), otrs_search.OTRS_SESSION)
     os.remove(sessfile)
     otrs_search.get_conf()
     otrs_search.create_session()
     self.assertTrue(os.path.exists(sessfile))
예제 #2
0
파일: test.py 프로젝트: rorist/otrs-search
 def test_login(self):
     sessfile = os.path.expanduser(otrs_search.OTRS_SESSION)
     os.remove(sessfile)
     otrs_search.get_conf()
     otrs_search.create_session()
     self.assertTrue(os.path.exists(sessfile))
예제 #3
0
 def test_login(self):
     sessfile = os.path.expanduser(otrs_search.OTRS_SESSION)
     os.remove(sessfile)
     otrs_search.get_conf()
     otrs_search.create_session()
     self.assertTrue(os.path.exists(sessfile))