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): def search_username(self, username):
self.open_nitter() self.open_nitter()
self.update_text('input', username) self.update_text('.search-panel input', username)
self.submit('form') self.submit('.search-panel form')
def get_timeline_tweet(num=1): 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.', '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], 'github.com', False],
['Bountysource/status/1141879700639215617',
'$1,000 Bounty on kivy/plyer',
'Automation and Screen Reader Support',
'bountysource.com', False],
['lorenlugosch/status/1115440394148487168', ['lorenlugosch/status/1115440394148487168',
'lorenlugosch/pretrain_speech_model', 'lorenlugosch/pretrain_speech_model',
'Speech Model Pre-training for End-to-End Spoken Language Understanding - 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!', '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.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', ['Tesla/status/1141041022035623936',
'Experience the Tesla Arcade', 'Experience the Tesla Arcade',
'', '',
@ -65,10 +65,10 @@ card = [
] ]
no_thumb = [ no_thumb = [
['nim_lang/status/1082989146040340480', ['Bountysource/status/1141879700639215617',
'Nim in 2018: A short recap', '$1,000 Bounty on kivy/plyer',
'Posted in r/programming by u/miran1 • 36 points and 46 comments', 'Automation and Screen Reader Support',
'reddit.com'], 'bountysource.com'],
['brent_p/status/1088857328680488961', ['brent_p/status/1088857328680488961',
'Hts Nim Sugar', 'Hts Nim Sugar',

View file

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