Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
Expand Down
2 changes: 1 addition & 1 deletion miniprobe/miniprobe.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def get_import_sensors(self):
try:
sensor_objects.append(self.load_class("sensors.%s.%s" % (mod.lower(), mod)))
except Exception as import_error:
print import_error
logging.error("Sensor Import Error! Error message: %s" % import_error)
return sensor_objects

@staticmethod
Expand Down
10 changes: 10 additions & 0 deletions miniprobe/tests/test_miniprobe.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env python

from nose.tools import *
from miniprobe import miniprobe

def test_miniprobe_hash_access_key():
"""miniprobe returns the correct hash_access_key"""
test_hash_access_key = miniprobe.MiniProbe()
assert_equal(test_hash_access_key.hash_access_key('test'), 'a94a8fe5ccb19ba61c4c0873d391e987982fbbd3')