def test_create_local_user_and_login(self):
        """ Try to create a local user then login
        """
        try:
            self.msu.create_user('Flea', 'RHCP', 'flea@slapdabass.com')
        except __HOLE__:
            skip("user management not supported in this version of managesf")
        self.logout()
        url = config.GATEWAY_URL + "/dashboard/"
        quoted_url = urllib2.quote(url, safe='')
        response = self.login('Flea', 'RHCP', quoted_url)
        self.assertEqual(url, response.url)
dataset/ETHPy150Open redhat-cip/software-factory/tests/functional/test_userdata.py/TestUserdata.test_create_local_user_and_login