@@ -36,10 +36,10 @@ def setUp(self):
3636
3737 def test_project_id_env (self ):
3838 _shell = shell .OpenStackShell ()
39- _shell .run ("configuration show " .split ())
39+ _shell .run ("extension list " .split ())
4040
4141 # Check general calls
42- self .assertEqual (len (self .requests_mock .request_history ), 2 )
42+ self .assertNotEqual (len (self .requests_mock .request_history ), 0 )
4343
4444 # Check discovery request
4545 self .assertEqual (
@@ -57,10 +57,10 @@ def test_project_id_env(self):
5757
5858 def test_project_id_arg (self ):
5959 _shell = shell .OpenStackShell ()
60- _shell .run ("--os-project-id wsx configuration show " .split ())
60+ _shell .run ("--os-project-id wsx extension list " .split ())
6161
6262 # Check general calls
63- self .assertEqual (len (self .requests_mock .request_history ), 2 )
63+ self .assertNotEqual (len (self .requests_mock .request_history ), 0 )
6464
6565 # Check discovery request
6666 self .assertEqual (
@@ -94,10 +94,10 @@ def setUp(self):
9494
9595 def test_project_name_env (self ):
9696 _shell = shell .OpenStackShell ()
97- _shell .run ("configuration show " .split ())
97+ _shell .run ("extension list " .split ())
9898
9999 # Check general calls
100- self .assertEqual (len (self .requests_mock .request_history ), 2 )
100+ self .assertNotEqual (len (self .requests_mock .request_history ), 0 )
101101
102102 # Check discovery request
103103 self .assertEqual (
@@ -115,10 +115,10 @@ def test_project_name_env(self):
115115
116116 def test_project_name_arg (self ):
117117 _shell = shell .OpenStackShell ()
118- _shell .run ("--os-project-name qaz configuration show " .split ())
118+ _shell .run ("--os-project-name qaz extension list " .split ())
119119
120120 # Check general calls
121- self .assertEqual (len (self .requests_mock .request_history ), 2 )
121+ self .assertNotEqual (len (self .requests_mock .request_history ), 0 )
122122
123123 # Check discovery request
124124 self .assertEqual (
@@ -154,10 +154,10 @@ def setUp(self):
154154
155155 def test_project_id_env (self ):
156156 _shell = shell .OpenStackShell ()
157- _shell .run ("configuration show " .split ())
157+ _shell .run ("extension list " .split ())
158158
159159 # Check general calls
160- self .assertEqual (len (self .requests_mock .request_history ), 2 )
160+ self .assertNotEqual (len (self .requests_mock .request_history ), 0 )
161161
162162 # Check discovery request
163163 self .assertEqual (
@@ -173,10 +173,10 @@ def test_project_id_env(self):
173173
174174 def test_project_id_arg (self ):
175175 _shell = shell .OpenStackShell ()
176- _shell .run ("--os-project-id wsx configuration show " .split ())
176+ _shell .run ("--os-project-id wsx extension list " .split ())
177177
178178 # Check general calls
179- self .assertEqual (len (self .requests_mock .request_history ), 2 )
179+ self .assertNotEqual (len (self .requests_mock .request_history ), 0 )
180180
181181 # Check discovery request
182182 self .assertEqual (
@@ -210,10 +210,10 @@ def setUp(self):
210210
211211 def test_project_name_env (self ):
212212 _shell = shell .OpenStackShell ()
213- _shell .run ("configuration show " .split ())
213+ _shell .run ("extension list " .split ())
214214
215215 # Check general calls
216- self .assertEqual (len (self .requests_mock .request_history ), 2 )
216+ self .assertNotEqual (len (self .requests_mock .request_history ), 0 )
217217
218218 # Check discovery request
219219 self .assertEqual (
@@ -234,10 +234,10 @@ def test_project_name_env(self):
234234
235235 def test_project_name_arg (self ):
236236 _shell = shell .OpenStackShell ()
237- _shell .run ("--os-project-name wsx configuration show " .split ())
237+ _shell .run ("--os-project-name wsx extension list " .split ())
238238
239239 # Check general calls
240- self .assertEqual (len (self .requests_mock .request_history ), 2 )
240+ self .assertNotEqual (len (self .requests_mock .request_history ), 0 )
241241
242242 # Check discovery request
243243 self .assertEqual (
0 commit comments