@@ -2271,31 +2271,31 @@ def assert_downloaded_file(self, file):
2271
2271
2272
2272
def assert_true (self , expr , msg = None ):
2273
2273
self .assertTrue (expr , msg = msg )
2274
- if self .demo_mode :
2275
- messenger_post = ("ASSERT TRUE: {%s}" % expr )
2274
+ ''' if self.demo_mode:
2275
+ messenger_post = ("ASSERT TRUE (See code)" )
2276
2276
js_utils.post_messenger_success_message(
2277
- self .driver , messenger_post , self .message_duration )
2277
+ self.driver, messenger_post, self.message_duration)'''
2278
2278
2279
2279
def assert_false (self , expr , msg = None ):
2280
2280
self .assertFalse (expr , msg = msg )
2281
- if self .demo_mode :
2282
- messenger_post = ("ASSERT FALSE: {%s}" % expr )
2281
+ ''' if self.demo_mode:
2282
+ messenger_post = ("ASSERT FALSE (See code)" )
2283
2283
js_utils.post_messenger_success_message(
2284
- self .driver , messenger_post , self .message_duration )
2284
+ self.driver, messenger_post, self.message_duration)'''
2285
2285
2286
2286
def assert_equal (self , first , second , msg = None ):
2287
2287
self .assertEqual (first , second , msg = msg )
2288
- if self .demo_mode :
2288
+ ''' if self.demo_mode:
2289
2289
messenger_post = ("ASSERT EQUAL: {%s == %s}" % (first, second))
2290
2290
js_utils.post_messenger_success_message(
2291
- self .driver , messenger_post , self .message_duration )
2291
+ self.driver, messenger_post, self.message_duration)'''
2292
2292
2293
2293
def assert_not_equal (self , first , second , msg = None ):
2294
2294
self .assertNotEqual (first , second , msg = msg )
2295
- if self .demo_mode :
2295
+ ''' if self.demo_mode:
2296
2296
messenger_post = ("ASSERT NOT EQUAL: {%s != %s}" % (first, second))
2297
2297
js_utils.post_messenger_success_message(
2298
- self .driver , messenger_post , self .message_duration )
2298
+ self.driver, messenger_post, self.message_duration)'''
2299
2299
2300
2300
def assert_title (self , title ):
2301
2301
""" Asserts that the web page title matches the expected title. """
0 commit comments