Update failing tests

This commit is contained in:
Zed 2019-09-13 12:38:41 +02:00
parent 9c91688497
commit e5d249a271
3 changed files with 13 additions and 13 deletions

View File

@ -95,8 +95,8 @@ class BaseTestCase(BaseCase):
def search_username(self, username):
self.open_nitter()
self.update_text('input', username)
self.submit('form')
self.update_text('.search-panel input', username)
self.submit('.search-panel form')
def get_timeline_tweet(num=1):

View File

@ -8,11 +8,6 @@ card = [
'A sample of a Qt app written using mostly nim. Contribute to sinkingsugar/nimqt-example development by creating an account on GitHub.',
'github.com', False],
['Bountysource/status/1141879700639215617',
'$1,000 Bounty on kivy/plyer',
'Automation and Screen Reader Support',
'bountysource.com', False],
['lorenlugosch/status/1115440394148487168',
'lorenlugosch/pretrain_speech_model',
'Speech Model Pre-training for End-to-End Spoken Language Understanding - lorenlugosch/pretrain_speech_model',
@ -38,6 +33,11 @@ card = [
'We are very proud to announce Nim version 0.20. This is a massive release, both literally and figuratively. It contains more than 1,000 commits and it marks our release candidate for version 1.0!',
'nim-lang.org', True],
['nim_lang/status/1082989146040340480',
'Nim in 2018: A short recap',
'Posted in r/programming by u/miran1',
'reddit.com', False],
['Tesla/status/1141041022035623936',
'Experience the Tesla Arcade',
'',
@ -65,10 +65,10 @@ card = [
]
no_thumb = [
['nim_lang/status/1082989146040340480',
'Nim in 2018: A short recap',
'Posted in r/programming by u/miran1 • 36 points and 46 comments',
'reddit.com'],
['Bountysource/status/1141879700639215617',
'$1,000 Bounty on kivy/plyer',
'Automation and Screen Reader Support',
'bountysource.com'],
['brent_p/status/1088857328680488961',
'Hts Nim Sugar',

View File

@ -3,7 +3,7 @@ from parameterized import parameterized
thread = [
['octonion/status/975253897697611777', [], 'Based', ['Crystal', 'Julia'], [
['For', 'Then', 'Okay,', 'Python', 'Speed', 'Java', 'Coding', 'I', 'more'],
['For', 'Then', 'Okay,', 'Python', 'Speed', 'Java', 'Coding', 'I', 'You'],
['yeah,']
]],
@ -13,7 +13,7 @@ thread = [
['gauravssnl/status/975364889039417344',
['Based', 'For', 'Then', 'Okay,', 'Python'], 'Speed', [], [
['Java', 'more'], ['JAVA!']
['Java', 'Coding', 'I', 'You'], ['JAVA!']
]],
['d0m96/status/1141811379407425537', [], 'I\'m',