'Test to create a user from a site with configuration overrides with overrides for
profile information.'

@mock.patch('openedx.core.djangoapps.site_configuration.helpers.get_value', fake_get_value)
def test_user_signup_including_enhanced_profile(self):

    response = self.client.post(self.url, self.extended_params)
    self.assertEqual(response.status_code, 200)
    user = User.objects.get(username=self.username)
    meta = json.loads(user.profile.meta)
    self.assertEqual(meta['address1'], 'foo')
    self.assertEqual(meta['state'], 'foo')
    self.assertEqual(meta['company'], 'foo')
    self.assertEqual(meta['title'], 'foo')
