'Check User can be created from deprecated KBUser.'

def testKBUserBackwardsCompatibility(self):

    kbuser = rdf_client.KnowledgeBaseUser()
    kbuser.username = 'user1'
    kbuser.desktop = 'User    Desktop    1'
    user = rdf_client.User(kbuser)
    self.assertEqual(user.username, 'user1')
    self.assertEqual(user.desktop, 'User    Desktop    1')
