Updated scanning tests

This commit is contained in:
Oliver Sterzel 2015-08-12 09:45:31 +01:00
parent 17bd14d41e
commit 65843ecafc

View file

@ -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