@@ -20,7 +20,7 @@ class DjangoClientDriverTest(BaseBrowserTests, unittest.TestCase):
2020
2121 @classmethod
2222 def setUpClass (cls ):
23- cls .browser = Browser ('djangoclient ' , wait_time = 0.1 )
23+ cls .browser = Browser ('django ' , wait_time = 0.1 )
2424
2525 def setUp (self ):
2626 self .browser .visit (EXAMPLE_APP )
@@ -30,7 +30,7 @@ def tearDownClass(self):
3030 self .browser .quit ()
3131
3232 def test_should_support_with_statement (self ):
33- with Browser ('djangoclient ' ) as internet :
33+ with Browser ('django ' ) as internet :
3434 self .assertIsNotNone (internet )
3535
3636 def test_attach_file (self ):
@@ -48,7 +48,7 @@ def test_attach_file(self):
4848
4949 def test_forward_to_none_page (self ):
5050 "should not fail when trying to forward to none"
51- browser = Browser ('djangoclient ' )
51+ browser = Browser ('django ' )
5252 browser .visit (EXAMPLE_APP )
5353 browser .forward ()
5454 self .assertEqual (EXAMPLE_APP , browser .url )
@@ -61,7 +61,7 @@ def test_cant_switch_to_frame(self):
6161 self .fail ()
6262
6363 e = cm .exception
64- self .assertEqual ("djangoclient doesn't support frames." , e .args [0 ])
64+ self .assertEqual ("django doesn't support frames." , e .args [0 ])
6565
6666 def test_simple_type (self ):
6767 """
@@ -73,36 +73,36 @@ def test_simple_type(self):
7373
7474 def test_simple_type_on_element (self ):
7575 """
76- djangoclient won't support type method
76+ django won't support type method
7777 because it doesn't interact with JavaScript
7878 """
7979 with self .assertRaises (NotImplementedError ):
8080 self .browser .find_by_name ('query' ).type ('with type method' )
8181
8282 def test_slowly_typing (self ):
8383 """
84- djangoclient won't support type method
84+ django won't support type method
8585 because it doesn't interact with JavaScript
8686 """
8787 with self .assertRaises (NotImplementedError ):
8888 self .browser .type ('query' , 'with type method' , slowly = True )
8989
9090 def test_slowly_typing_on_element (self ):
9191 """
92- djangoclient won't support type method
92+ django won't support type method
9393 on element because it doesn't interac with JavaScript
9494 """
9595 with self .assertRaises (NotImplementedError ):
9696 query = self .browser .find_by_name ('query' )
9797 query .type ('with type method' , slowly = True )
9898
9999 def test_cant_mouseover (self ):
100- "djangoclient should not be able to put the mouse over the element"
100+ "django should not be able to put the mouse over the element"
101101 with self .assertRaises (NotImplementedError ):
102102 self .browser .find_by_css ('#visible' ).mouse_over ()
103103
104104 def test_cant_mouseout (self ):
105- "djangoclient should not be able to mouse out of an element"
105+ "django should not be able to mouse out of an element"
106106 with self .assertRaises (NotImplementedError ):
107107 self .browser .find_by_css ('#visible' ).mouse_out ()
108108
0 commit comments