Kaynağa Gözat

Update tests

Zed 9 ay önce
ebeveyn
işleme
bf36fc471b
3 değiştirilmiş dosya ile 5 ekleme ve 19 silme
  1. 5 5
      tests/test_card.py
  2. 0 6
      tests/test_quote.py
  3. 0 8
      tests/test_tweet.py

+ 5 - 5
tests/test_card.py

@@ -26,14 +26,14 @@ no_thumb = [
      'lnkd.in'],
 
     ['Thom_Wolf/status/1122466524860702729',
-     'GitHub - NVIDIA/Megatron-LM: Ongoing research training transformer models at scale',
-     'Ongoing research training transformer models at scale - NVIDIA/Megatron-LM',
+     'GitHub - facebookresearch/fairseq: Facebook AI Research Sequence-to-Sequence Toolkit written in',
+     '',
      'github.com'],
 
     ['brent_p/status/1088857328680488961',
-     'Hts Nim Sugar',
-     'hts-nim is a library that allows one to use htslib via the nim programming language. Nim is a garbage-collected language that compiles to C and often has similar performance. I have become very...',
-     'brentp.github.io'],
+     'GitHub - brentp/hts-nim: nim wrapper for htslib for parsing genomics data files',
+     '',
+     'github.com'],
 
     ['voidtarget/status/1133028231672582145',
      'sinkingsugar/nimqt-example',

+ 0 - 6
tests/test_quote.py

@@ -2,12 +2,6 @@ from base import BaseTestCase, Quote, Conversation
 from parameterized import parameterized
 
 text = [
-    ['elonmusk/status/1138136540096319488',
-     'TREV PAGE', '@Model3Owners',
-     """As of March 58.4% of new car sales in Norway are electric. 
-
-What are we doing wrong? reuters.com/article/us-norwa…"""],
-
     ['nim_lang/status/1491461266849808397#m',
      'Nim', '@nim_lang',
      """What's better than Nim 1.6.0?

+ 0 - 8
tests/test_tweet.py

@@ -28,14 +28,6 @@ invalid = [
 ]
 
 multiline = [
-    [400897186990284800, 'mobile_test_3',
-     """
-♔
-  KEEP
- CALM
-   AND
-CLICHÉ
-    ON"""],
     [1718660434457239868, 'WebDesignMuseum',
      """
 Happy 32nd Birthday HTML tags!