From 392334be7ef5dd850651ba91492e138868576bf1 Mon Sep 17 00:00:00 2001 From: Chris Simon Date: Mon, 1 Jun 2015 16:41:02 +0200 Subject: [PATCH 1/2] Update install.sh to redirect apt-get output /tmp --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index af52dd6..947d993 100755 --- a/install.sh +++ b/install.sh @@ -9,7 +9,7 @@ fi echo "This script will guide you to install the PythonMiniProbe" echo "installing python-dev and build-essentials" -apt-get -y install python-dev build-essential 2>&1 >> /dev/null +apt-get -y install python-dev build-essential 2>&1 >> /tmp/probe_install.log case "$(python --version 2>&1)" in *" 2.7.9"*) @@ -20,7 +20,7 @@ case "$(python --version 2>&1)" in ;; *) echo "Installing PIP!" - apt-get -y install python-pip 2>&1 >> /dev/null + apt-get -y install python-pip 2>&1 >> /tmp/probe_install.log ;; esac From a1d576f0abe7e3c06fa83f52b27933c59eb5dce5 Mon Sep 17 00:00:00 2001 From: Chris Simon Date: Mon, 1 Jun 2015 16:44:53 +0200 Subject: [PATCH 2/2] typo fix.... --- miniprobe/tests/test_sensors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniprobe/tests/test_sensors.py b/miniprobe/tests/test_sensors.py index 6bccde2..c7893d7 100644 --- a/miniprobe/tests/test_sensors.py +++ b/miniprobe/tests/test_sensors.py @@ -499,7 +499,7 @@ def test_external_ip_get_kind(): assert_equal(test_external_ip.get_kind(), 'mpexternalip') def test_external_ip_sensor_definition(): - """http returns correct definition""" + """external_ip returns correct definition""" test_external_ip = external_ip.External_IP() test_sensordef = { "kind": test_external_ip.get_kind(),