boto/boto — pull request #828 by jamesls (2012-06-19 17:51:24+00:00)
Title: Fix failing tests from pull request #825

When I pulled in the latest changes today these tests started
failing for me:

```
======================================================================
FAIL: Test that a custom policy can be created with an IP address and
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/jamessar/Source/boto/tests/unit/cloudfront/test_signed_urls.py", line 220, in test_custom_policy_ip_address
self.assertEqual(1, len(condition.keys()))
AssertionError: 1 != 2

======================================================================
FAIL: Test that a custom policy can be created with an IP address and
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/jamessar/Source/boto/tests/unit/cloudfront/test_signed_urls.py", line 243, in test_custom_policy_ip_range
self.assertEqual(1, len(condition.keys()))
AssertionError: 1 != 2

======================================================================
FAIL: Test that a custom policy can be created with a valid-after time and
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/jamessar/Source/boto/tests/unit/cloudfront/test_signed_urls.py", line 197, in test_custom_policy_valid_after
self.assertEqual(1, len(condition.keys()))
AssertionError: 1 != 2

----------------------------------------------------------------------
Ran 14 tests in 0.057s

FAILED (failures=3)
```

I believe the tests just need to be udpated to account for the
new "DateLessThan" field added in commit
fcb68be57c735cd8281be4a5bc2d64053ac7090d.