add device-related DB storage & DB manager
ref #3069
Change-Id: I8a6c9f7c8c742b082ed92bf44a3afe002257084b
diff --git a/tests/test_device_profile.py b/tests/test_device_profile.py
index 52986ce..906d0d6 100644
--- a/tests/test_device_profile.py
+++ b/tests/test_device_profile.py
@@ -1,4 +1,5 @@
from device_profile import DeviceProfile
+from pyndn import Name
def readProfile(profile):
print ' prefix: ', profile.getPrefix()
@@ -19,7 +20,7 @@
readProfile(profile)
print "set prefix to '/home/sensor/LED/23'..."
- profile.setPrefix('/home/sensor/LED/23')
+ profile.setPrefix(Name('/home/sensor/LED/23'))
print "set location to 'Alice's bedroom'..."
profile.setLocation('Alice\'s bedroom')