'Register a mock response for GET on the CS thread list endpoint'

def register_get_threads_response(self, threads, page, num_pages):

    httpretty.register_uri(httpretty.GET, u'http://localhost:4567/api/v1/threads', body=json.dumps({u'collection': threads, u'page': page, u'num_pages': num_pages, u'thread_count': len(threads)}), status=200)
