Skip to content

Commit

Permalink
Update URL, 0.0.0.0 now has 404 status.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsteves committed Dec 25, 2023
1 parent e686d69 commit ce1d5ee
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/test_wfapi_cld_web_artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
sys.path[:0] = [os.path.join(libpath, os.pardir, 'lib')]
import pan.wfapi

URL = 'https://www.google.com'


class PanWFapiTest(wfapi_mixin.Mixin, unittest.TestCase):
def test_01(self):
Expand All @@ -33,7 +35,7 @@ def test_04(self):
'download_files,screenshot',
'download_files, screenshot',
]:
self.api.web_artifacts(url='0.0.0.0', types=types)
self.api.web_artifacts(url=URL, types=types)
self.assertEqual(self.api.http_code, 200)
self.assertIsNotNone(self.api.attachment)

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

def test_05(self):
self.api.web_artifacts(url='0.0.0.0', types='screenshot')
self.api.web_artifacts(url=URL, types='screenshot')
self.assertEqual(self.api.http_code, 200)
self.assertIsNotNone(self.api.attachment)

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

def test_06(self):
self.api.web_artifacts(url='0.0.0.0', types='download_files')
self.api.web_artifacts(url=URL, types='download_files')
self.assertEqual(self.api.http_code, 200)
self.assertIsNotNone(self.api.attachment)

Expand Down

0 comments on commit ce1d5ee

Please sign in to comment.