浏览代码

Fix the test to match expected returned value

oz123 11 年之前
父节点
当前提交
3a92688aa2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pwman/tests/db_tests.py

+ 1 - 1
pwman/tests/db_tests.py

@@ -373,7 +373,7 @@ class CLITests(unittest.TestCase):
 class FactoryTest(unittest.TestCase):
 
     def test_factory_check_db_ver(self):
-        self.assertEquals(factory.check_db_version('SQLite'), u"'0.4'")
+        self.assertEquals(factory.check_db_version('SQLite'), 0.4)
 
 
 class ConfigTest(unittest.TestCase):