Skip to content

Commit ce1d5ee

Browse files
committed
Update URL, 0.0.0.0 now has 404 status.
1 parent e686d69 commit ce1d5ee

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/test_wfapi_cld_web_artifacts.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
sys.path[:0] = [os.path.join(libpath, os.pardir, 'lib')]
1111
import pan.wfapi
1212

13+
URL = 'https://www.google.com'
14+
1315

1416
class PanWFapiTest(wfapi_mixin.Mixin, unittest.TestCase):
1517
def test_01(self):
@@ -33,7 +35,7 @@ def test_04(self):
3335
'download_files,screenshot',
3436
'download_files, screenshot',
3537
]:
36-
self.api.web_artifacts(url='0.0.0.0', types=types)
38+
self.api.web_artifacts(url=URL, types=types)
3739
self.assertEqual(self.api.http_code, 200)
3840
self.assertIsNotNone(self.api.attachment)
3941

@@ -44,7 +46,7 @@ def test_04(self):
4446
self.assertIn('download_files', files)
4547

4648
def test_05(self):
47-
self.api.web_artifacts(url='0.0.0.0', types='screenshot')
49+
self.api.web_artifacts(url=URL, types='screenshot')
4850
self.assertEqual(self.api.http_code, 200)
4951
self.assertIsNotNone(self.api.attachment)
5052

@@ -55,7 +57,7 @@ def test_05(self):
5557
self.assertNotIn('download_files', files)
5658

5759
def test_06(self):
58-
self.api.web_artifacts(url='0.0.0.0', types='download_files')
60+
self.api.web_artifacts(url=URL, types='download_files')
5961
self.assertEqual(self.api.http_code, 200)
6062
self.assertIsNotNone(self.api.attachment)
6163

0 commit comments

Comments
 (0)