Skip to content

Commit

Permalink
fuck u github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kaixinol committed Nov 12, 2023
1 parent 1b555a8 commit ecca4e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions tests/CI.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ class TestCase(unittest.TestCase):
def test_spider(self):
browser = get_browser()
tweet = Tweet('https://twitter.com/_CASTSTATION/status/1697029186777706544', is_ci_test=True)
tweet.load_data(browser)
browser.save_screenshot('debug.png')
try:
tweet.load_data(browser)
except:
browser.save_screenshot('debug.png')
self.assertEqual('miku miku oo ee oo',tweet.text)


Expand Down
1 change: 0 additions & 1 deletion twitter_user_tweet_crawler/tweet.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def write_markdown(self):
def commit_sqlite(self):
insert_new_record(self.post_id, self.post_time, self.location)

@logger.catch
def load_data(self, available_driver: WebDriver):

def replace_emoji(string: str) -> str:
Expand Down

0 comments on commit ecca4e9

Please sign in to comment.