Merge lp:~dobey/ubuntuone-storage-protocol/merge-to-stable-3-0 into lp:ubuntuone-storage-protocol/stable-3-0

Proposed by dobey
Status: Merged
Approved by: dobey
Approved revision: 146
Merged at revision: 145
Proposed branch: lp:~dobey/ubuntuone-storage-protocol/merge-to-stable-3-0
Merge into: lp:ubuntuone-storage-protocol/stable-3-0
Diff against target: 27 lines (+1/-5)
2 files modified
tests/test_client.py (+0/-4)
ubuntuone/storageprotocol/utils.py (+1/-1)
To merge this branch: bzr merge lp:~dobey/ubuntuone-storage-protocol/merge-to-stable-3-0
Reviewer Review Type Date Requested Status
Natalia Bidart (community) Approve
Review via email: mp+86419@code.launchpad.net

Commit message

Use the dedicated time url.

Description of the change

Use the dedicated time url.

To post a comment you must log in.
146. By dobey

Pull in a fix that was missed in a previously landed branch

Revision history for this message
Natalia Bidart (nataliabidart) wrote :

Looks good!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/test_client.py'
2--- tests/test_client.py 2011-11-14 16:36:04 +0000
3+++ tests/test_client.py 2011-12-20 16:13:25 +0000
4@@ -175,10 +175,6 @@
5 self.called = False
6 self.volume = None
7
8- def tearDown(self):
9- """Clean up."""
10- self.client = None
11-
12 def test_init_maxpayloadsize(self):
13 """Get the value from the constant at init time."""
14 self.assertEqual(self.client.max_payload_size,
15
16=== modified file 'ubuntuone/storageprotocol/utils.py'
17--- ubuntuone/storageprotocol/utils.py 2011-10-04 03:20:53 +0000
18+++ ubuntuone/storageprotocol/utils.py 2011-12-20 16:13:25 +0000
19@@ -34,7 +34,7 @@
20
21 CHECKING_INTERVAL = 60 * 60 # in seconds
22 ERROR_INTERVAL = 30 # in seconds
23- SERVER_URL = "http://one.ubuntu.com/"
24+ SERVER_URL = "http://one.ubuntu.com/api/time"
25
26 def __init__(self):
27 """Initialize this instance."""

Subscribers

People subscribed via source and target branches

to all changes: