From 95321a984597736331e9fb244d8202fe7d05d24e Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Wed, 2 Oct 2013 16:38:15 -0400 Subject: [PATCH] Clean up a few @slow decorators in tests.py. A few "slow" tests aren't as slow any more, for whatever reason, so we're setting a higher bar going forward. (imported from commit 642137cebb7826f4512b5635da9d7b75bd5c35f4) --- zerver/tests.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/zerver/tests.py b/zerver/tests.py index 82f9dcd736..1a2a55c6ad 100644 --- a/zerver/tests.py +++ b/zerver/tests.py @@ -2029,7 +2029,6 @@ so we didn't send them an invitation. We did send invitations to everyone else!" # We only sent emails to the new users. self.check_sent_emails(new) - @slow(0.20, 'inviting is slow') def test_invite_outside_domain_in_closed_realm(self): """ In a realm with `restricted_to_domain = True`, you can't invite people @@ -2913,7 +2912,7 @@ int x = 3 self.common_bugdown_test('__foo__', '

__foo__

') self.common_bugdown_test('**foo**', '

foo

') - @slow(1.1, 'lots of examples') + @slow(0.3, 'lots of examples') def test_linkify(self): def replaced(payload, url, phrase=''): target = " target=\"_blank\"" @@ -3037,7 +3036,6 @@ int x = 3 converted = bugdown_convert(inline_url) self.assertEqual(match, converted) - @slow(0.545, 'BugDown is slow, several items to test') def test_manual_links(self): # These are links that the default markdown XSS fails due to to : in the path urls = (('[Haskell NYC Meetup](http://www.meetsup.com/r/email/www/0/co1.1_grp/http://www.meetup.com/NY-Haskell/events/108707682/\