def setUp(self): data = json.dumps({ 'title': 'title', 'snippet': 'test code here', 'language': 'python' }) self.sp = SendPaste(data=data)