File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ def test_notebook_password():
137137 assert nb .password != ''
138138 passwd_check (nb .password , password )
139139
140- class StopTestApp (notebookapp .NbserverStopApp ):
140+ class StopAppTest (notebookapp .NbserverStopApp ):
141141 """For testing the logic of NbserverStopApp."""
142142 def __init__ (self , ** kwargs ):
143143 super ().__init__ (** kwargs )
@@ -166,15 +166,15 @@ def list_running_servers(runtime_dir):
166166
167167 # test stop with a match
168168 with mock_servers :
169- app = StopTestApp ()
169+ app = StopAppTest ()
170170 app .initialize (['105' ])
171171 app .start ()
172172 assert len (app .servers_shut_down ) == 1
173173 assert app .servers_shut_down [0 ]['port' ] == 105
174174
175175 # test no match
176176 with mock_servers , patch ('os.kill' ) as os_kill :
177- app = StopTestApp ()
177+ app = StopAppTest ()
178178 app .initialize (['999' ])
179179 with pytest .raises (SystemExit ) as exc :
180180 app .start ()
You can’t perform that action at this time.
0 commit comments