Skip to content

Commit b76d325

Browse files
authored
Merge pull request #1179 from PyThaiNLP/bact-rm-example-com-test
Comment out non-exists URL test case
2 parents d1c807d + 470b168 commit b76d325

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/core/test_corpus.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ def test_corpus(self):
7878
self.assertIsNone(get_corpus_default_db("3XKg0013", "1.2.345"))
7979

8080
# BEGIN - Test non-exists
81-
self.assertIsInstance(
82-
get_corpus_db("https://example.com/XXXXXX0lkjasd/SXfmskdjKKXXX"),
83-
Response,
84-
) # URL does not exist, should get 404 response
81+
# self.assertIsInstance(
82+
# get_corpus_db("https://example.com/XXXXXX0lkjasd/SXfmskdjKKXXX"),
83+
# Response,
84+
# ) # URL does not exist, should get 404 response
8585
self.assertIsNone(get_corpus_db("XXXlkja3sfdXX")) # Invalid URL
8686
self.assertEqual(
8787
get_corpus_db_detail("XXXmx3KSXX"), {}

0 commit comments

Comments
 (0)