Skip to content

Commit

Permalink
test: 이전 refactor에 맞춰 테스트 함수 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
inchanS committed Mar 22, 2024
1 parent e633b14 commit 3d4933c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions workflow/test_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import naver_shopping
import naver_terms
import naver_map
import naver_map_with_ip
import krdic_naver_search
import hanja_naver_search
import endic_naver_search
Expand All @@ -30,15 +29,10 @@ def test_terms(self):
self.assertTrue(len(res['items']) > 0)

def test_naver_map(self):
res = naver_map.get_data('서울')

self.assertTrue(len(res) > 0)

def test_naver_map_with_ip(self):
locate = {'lat': '37.5665', 'lng': '126.9780'}
res = naver_map_with_ip.get_data('서울', locate)
res = naver_map.get_data(locate,'서울')

self.assertTrue((len(res) > 0))
self.assertTrue(len(res) > 0)

def test_krdic(self):
res = krdic_naver_search.get_dictionary_data('한글')
Expand Down

0 comments on commit 3d4933c

Please sign in to comment.