소스 검색

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