def test_no_name_user_details(self):
        partial_user_data_response = json.loads(u'''
            {
                "userid":"noname@domain.com",
                "id": "1922",
                "guid": "YxYHXk9rQHhMhrmJobHJymA",
                "email":[
                    {
                        "email":"noname@domain.com",
                        "is_primary":true
                    }
                ]
            }
        ''')
        result = self.backend.get_user_details(partial_user_data_response)

        self.assertDictEqual(
            result,
            {
                "username": u"1922",
                "email": u"noname@domain.com",
                "fullname": u"",
                "first_name": u"",
                "last_name": u""
            })
Test to parses the input to pkg.install and
dataset/ETHPy150Open ofa/connect/connect_extras/tests/test_bsdtoolsauth.py/TestBSDToolsOAuthBackend.test_no_name_user_details--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/pkg_resource_test.py/PkgresTestCase.test_parse_targets