'Trying to set an invalid stream id returns a JSON error.'

def test_api_invalid_stream_id(self):

    test_email = self.example_email('hamlet')
    self.login(test_email)
    result = self.client_patch('/api/v1/users/me/subscriptions/121', {'property': 'in_home_view', 'value': 'somevalue'}, **self.api_auth(test_email))
    self.assert_json_error(result, 'Invalid    stream    id')
