File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ def test_remotesettings_success(self):
110
110
obtained , _ = monitors .remotesettings ()
111
111
assert obtained == ''
112
112
113
+ @override_settings (ENV = 'production' )
113
114
def test_remotesettings_bad_credentials (self ):
114
115
responses .add (
115
116
responses .GET ,
@@ -126,6 +127,7 @@ def test_remotesettings_bad_credentials(self):
126
127
obtained , _ = monitors .remotesettings ()
127
128
assert 'Invalid credentials' in obtained
128
129
130
+ @override_settings (ENV = 'production' )
129
131
def test_remotesettings_fail (self ):
130
132
responses .add (
131
133
responses .GET ,
@@ -164,7 +166,7 @@ def test_cinder_fail(self):
164
166
def test_localdev_web_fail (self ):
165
167
responses .add (
166
168
responses .GET ,
167
- 'http://127.0.0.1:8002 /__version__' ,
169
+ 'http://nginx /__version__' ,
168
170
status = 500 ,
169
171
)
170
172
status , _ = monitors .localdev_web ()
@@ -173,7 +175,7 @@ def test_localdev_web_fail(self):
173
175
def test_localdev_web_success (self ):
174
176
responses .add (
175
177
responses .GET ,
176
- 'http://127.0.0.1:8002 /__version__' ,
178
+ 'http://nginx /__version__' ,
177
179
status = 200 ,
178
180
)
179
181
status , _ = monitors .localdev_web ()
You can’t perform that action at this time.
0 commit comments