mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	lint: Fix pep8 linter error regressions.
Since `lint-all --pep8` wasn't running in CI, a few errors have leaked in.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							82a497ec08
						
					
				
				
					commit
					8f05ea877d
				
			@@ -41,7 +41,7 @@ to this file.
 | 
			
		||||
 | 
			
		||||
TOOLS_DIR = os.path.dirname(os.path.abspath(__file__))
 | 
			
		||||
sys.path.insert(0, os.path.dirname(TOOLS_DIR))
 | 
			
		||||
from tools.lib.test_script import(
 | 
			
		||||
from tools.lib.test_script import (
 | 
			
		||||
    get_provisioning_status,
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -20,8 +20,8 @@ class DeskDotComHookTests(WebhookTestCase):
 | 
			
		||||
    def test_static_text_message(self):
 | 
			
		||||
        # type: () -> None
 | 
			
		||||
 | 
			
		||||
        expected_subject = u"static text notification";
 | 
			
		||||
        expected_message = u"This is a custom action.\n";
 | 
			
		||||
        expected_subject = u"static text notification"
 | 
			
		||||
        expected_message = u"This is a custom action.\n"
 | 
			
		||||
 | 
			
		||||
        self.send_and_test_stream_message('static_text', expected_subject, expected_message,
 | 
			
		||||
                                          content_type="application/x-www-form-urlencoded",
 | 
			
		||||
@@ -29,7 +29,7 @@ class DeskDotComHookTests(WebhookTestCase):
 | 
			
		||||
 | 
			
		||||
    def test_case_updated_message(self):
 | 
			
		||||
        # type: () -> None
 | 
			
		||||
        expected_subject = u"case updated notification";
 | 
			
		||||
        expected_subject = u"case updated notification"
 | 
			
		||||
        expected_message = (u"Case 2 updated. "
 | 
			
		||||
           u"Link: <a href='https://deskdotcomtest.desk.com/web/agent/case/2'>"
 | 
			
		||||
           u"I have a question</a>\n")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user