'Ensures backward-compatible defaults.'

@patch.dict(settings.FEATURES, {'ENABLE_UNICODE_USERNAME': False})
def test_with_feature_disabled(self):

    response = self.client.post(self.url, self.url_params)
    self.assertEquals(response.status_code, 400)
    obj = json.loads(response.content)
    self.assertEquals(USERNAME_INVALID_CHARS_ASCII, obj['value'])
    with self.assertRaises(User.DoesNotExist):
        User.objects.get(email=self.url_params['email'])
