modify storage class name
Change-Id: I1727937514933e8ccf663897dca6725e3a162e9a
diff --git a/tests/test_storage.py b/tests/test_device_storage.py
similarity index 98%
rename from tests/test_storage.py
rename to tests/test_device_storage.py
index dbdce7f..d04449e 100644
--- a/tests/test_storage.py
+++ b/tests/test_device_storage.py
@@ -20,11 +20,11 @@
import unittest as ut
import os.path
from pyndn import Name
-from device_user_access_storage import DeviceUserAccessStorage
+from device_storage import DeviceStorage
from device_profile import DeviceProfile
from hmac_key import HMACKey
-class TestStorageMethods(ut.TestCase):
+class TestDeviceStorageMethods(ut.TestCase):
def setUp(self):
if not "HOME" in os.environ:
home = '.'
@@ -37,7 +37,7 @@
if os.path.isfile(self.databaseFilePath):
os.remove(self.databaseFilePath)
- self.storage = DeviceUserAccessStorage()
+ self.storage = DeviceStorage()
def tearDown(self):
pass
@@ -57,7 +57,7 @@
os.makedirs(dbdir)
filePath = os.path.join(dbdir, 'ndnhome-controller.db')
- storage2 = DeviceUserAccessStorage(filePath)
+ storage2 = DeviceStorage(filePath)
self.assertTrue(os.path.isfile(filePath), 'fail to create database file' )
os.remove(filePath)