def METHOD_NAME(self):
    # Set up an APIKey for authenticated tests to use.
    api_key = ApiKey.objects.create()
    self.headers = {
        'HTTP_PRIVATEKEY': api_key.private_key,
        'HTTP_PUBLICKEY': api_key.public_key}
    for data_method_name in self.setup_data:
        data_method = getattr(self, data_method_name)
        data_method()