Skip to content
Snippets Groups Projects
Commit 24cabe3c authored by Gavin M. Roy's avatar Gavin M. Roy
Browse files

Fix tests when pycurl is not installed

parent de60b759
No related branches found
No related tags found
No related merge requests found
import copy
import json
import os
import unittest
import uuid
 
from tornado import testing
 
try:
from tornado import curl_httpclient
except ImportError:
curl_httpclient = None
import tornado_aws
 
 
Loading
Loading
@@ -90,3 +96,7 @@ class UseCurlDynamoDBTestCase(DynamoDBTestCase):
super(DynamoDBTestCase, self).setUp()
self.client = tornado_aws.AsyncAWSClient(
'dynamodb', endpoint='http://localhost:8000', use_curl=True)
@unittest.skipIf(curl_httpclient is None, 'pycurl not installed')
def test_create_table(self):
return super(UseCurlDynamoDBTestCase, self).test_create_table()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment