프로젝트

일반

사용자정보

개정판 aae9fc00

IDaae9fc000504f8bc535d9cc3d41ae2b0ad3d17de
상위 6e1bfbcb
하위 48ae97a1, a1dca1e0

함의성이(가) 약 5년 전에 추가함

issue #1366: test

Change-Id: I0af66f558224cadd999d9e43afd90793a601e654

차이점 보기:

DTI_PID/DTI_PID/AppWebService.py
15 15
    """ This is AppDatabase class """
16 16

  
17 17
    def __init__(self):
18
        self._url = 'http://127.0.0.1:5000/'
18
        self._url = 'http://127.0.0.1:8080/'
19 19

  
20 20
    def text_connection(self):
21 21
        try:
22 22
            response = requests.get(self._url)
23
            if response.status_code is 200:
23
            if response.status_code == 200:
24 24
                return True
25 25
            else:
26 26
                return False

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)