From 9062c654cffde512ced8e4de86eacc8c5a1cc455 Mon Sep 17 00:00:00 2001 From: Michael De La Rue Date: Thu, 1 Sep 2016 12:05:34 +0100 Subject: [PATCH] Hopefully break build by testing for local only default server --- tests/test_core/test_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_core/test_server.py b/tests/test_core/test_server.py index 8fb9b986..3ee08465 100644 --- a/tests/test_core/test_server.py +++ b/tests/test_core/test_server.py @@ -18,7 +18,7 @@ def test_wrong_arguments(): def test_right_arguments(run_simple): main(["s3"]) func_call = run_simple.call_args[0] - func_call[0].should.equal("0.0.0.0") + func_call[0].should.equal("127.0.0.1") func_call[1].should.equal(5000) @@ -26,7 +26,7 @@ def test_right_arguments(run_simple): def test_port_argument(run_simple): main(["s3", "--port", "8080"]) func_call = run_simple.call_args[0] - func_call[0].should.equal("0.0.0.0") + func_call[0].should.equal("127.0.0.1") func_call[1].should.equal(8080)