'Testing whether an error 404 is returned when trying to edit your channel without community'

@deferred(timeout=10)
def test_edit_my_channel_no_cmty(self):

    mock_dispersy = MockObject()
    mock_dispersy.get_community = (lambda _: None)
    self.session.get_dispersy_instance = (lambda : mock_dispersy)
    self.create_my_channel('test', 'test')
    return self.do_request('mychannel', expected_code=404, request_type='POST')
