Updated scanning tests
This commit is contained in:
parent
17bd14d41e
commit
65843ecafc
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ def step_imp(context, contents):
|
||||||
@when('I scan the file for a virus')
|
@when('I scan the file for a virus')
|
||||||
def step_impl(context):
|
def step_impl(context):
|
||||||
files = { 'file': context.file_contents }
|
files = { 'file': context.file_contents }
|
||||||
url = "http://localhost:9000"
|
url = "http://127.0.0.1:9000"
|
||||||
r = requests.post(url + "/scan", files=files)
|
r = requests.post(url + "/scan", files=files)
|
||||||
context.result = r
|
context.result = r
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue