Explorar el Código

Fix failing test

oz123 hace 10 años
padre
commit
a72b2b193e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pwman/tests/test_postgresql.py

+ 1 - 1
pwman/tests/test_postgresql.py

@@ -120,7 +120,7 @@ class TestPostGresql(unittest.TestCase):
 
         dburi = "postgresql://tester:123456@localhost/pwman"
         v = self.db.check_db_version(dburi)
-        self.assertEqual(v, ('0.6',))
+        self.assertEqual(v, '0.6')
         self.db._cur.execute("DROP TABLE DBVERSION")
         self.db._con.commit()
         v = self.db.check_db_version(dburi)