소스 검색

Fix some tests

Oz N Tiram 8 년 전
부모
커밋
27ab6bff2f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/test_importer.py

+ 1 - 1
tests/test_importer.py

@@ -68,7 +68,7 @@ class TestImporter(unittest.TestCase):
         node = self.importer._create_node(n)
         ce = CryptoEngine.get()
         self.assertEqual(ce.decrypt(node._username).decode(), u'alice')
-        self.assertEqual(['foo', 'bar'], [t for t in node.tags])
+        self.assertEqual([b'foo', b'bar'], [t for t in node.tags])
 
     def test_insert_node(self):
         n = "alice;wonderland.com;secert;scratch;foo,bar".split(";")