Merge pull request #48 from spulec/py26

Now supporting Python 2.6 as long as we're using the very latest HTTPretty
This commit is contained in:
Steve Pulec 2013-10-03 17:43:37 -07:00
commit d8ca75deaa
24 changed files with 85 additions and 64 deletions

View file

@ -365,7 +365,7 @@ def test_scan():
'Body': 'http://url_to_lolcat.gif',
'SentBy': 'User B',
'ReceivedTime': '12/9/2011 11:36:03 PM',
'Ids': {1, 2, 3},
'Ids': set([1, 2, 3]),
'PK': 7,
}
item = table.new_item(
@ -442,7 +442,7 @@ def test_write_batch():
'Body': 'http://url_to_lolcat.gif',
'SentBy': 'User B',
'ReceivedTime': '12/9/2011 11:36:03 PM',
'Ids': {1, 2, 3},
'Ids': set([1, 2, 3]),
'PK': 7,
},
))
@ -489,7 +489,7 @@ def test_batch_read():
'Body': 'http://url_to_lolcat.gif',
'SentBy': 'User B',
'ReceivedTime': '12/9/2011 11:36:03 PM',
'Ids': {1, 2, 3},
'Ids': set([1, 2, 3]),
'PK': 7,
}
item = table.new_item(

View file

@ -282,7 +282,7 @@ def test_scan():
'Body': 'http://url_to_lolcat.gif',
'SentBy': 'User B',
'ReceivedTime': '12/9/2011 11:36:03 PM',
'Ids': {1, 2, 3},
'Ids': set([1, 2, 3]),
'PK': 7,
}
item = table.new_item(
@ -356,7 +356,7 @@ def test_write_batch():
'Body': 'http://url_to_lolcat.gif',
'SentBy': 'User B',
'ReceivedTime': '12/9/2011 11:36:03 PM',
'Ids': {1, 2, 3},
'Ids': set([1, 2, 3]),
'PK': 7,
},
))
@ -401,7 +401,7 @@ def test_batch_read():
'Body': 'http://url_to_lolcat.gif',
'SentBy': 'User B',
'ReceivedTime': '12/9/2011 11:36:03 PM',
'Ids': {1, 2, 3},
'Ids': set([1, 2, 3]),
'PK': 7,
}
item = table.new_item(