Fix for issue #10, updated language-list fetching regexp (fixes a bug where some...
[diaspy.git] / tests.py
index f0e89809a0798d0921a4ed1259b05152dc790548..92d486c619efe06058f439abffbafe9f7470a48f 100644 (file)
--- a/tests.py
+++ b/tests.py
@@ -180,6 +180,11 @@ class UserTests(unittest.TestCase):
         self.assertIn('avatar', user.data)
         self.assertEqual(type(user.stream), diaspy.streams.Outer)
 
+    def testReprMethod(self):
+        user = diaspy.people.User(test_connection, guid=testconf.guid)
+        repr(user)
+        print(user)
+
 
 class ContactsTest(unittest.TestCase):
     def testGetOnlySharing(self):