فهرست منبع

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):