Skip to content

Commit d69b4e5

Browse files
committed
Add webtest marker to test making network call
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 575cc19 commit d69b4e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vulntotal/tests/test_osv.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import json
1111
from pathlib import Path
1212

13+
import pytest
1314
from commoncode import testcase
1415
from packageurl import PackageURL
1516

@@ -62,6 +63,7 @@ def test_parse_advisory(self):
6263
util_tests.check_results_against_json(results, expected_file)
6364

6465

66+
@pytest.mark.webtest
6567
class TestOSVLive(testcase.FileBasedTesting):
6668
def test_generate_payload_nuget_with_api_call(self):
6769
# this test makes like API calls

0 commit comments

Comments
 (0)