~ubuntu-branches/ubuntu/trusty/swift/trusty-updates

« back to all changes in this revision

Viewing changes to test/unit/proxy/controllers/test_obj.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short, James Page, Chuck Short
  • Date: 2013-08-13 10:37:13 UTC
  • mfrom: (1.2.21)
  • Revision ID: package-import@ubuntu.com-20130813103713-1ctbx4zifyljs2aq
Tags: 1.9.1-0ubuntu1
[ James Page ]
* d/control: Update VCS fields for new branch locations.

[ Chuck Short ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# See the License for the specific language governing permissions and
15
15
# limitations under the License.
16
16
 
17
 
import mock
18
17
import unittest
19
18
 
20
19
from swift.proxy import server as proxy_server
21
 
from test.unit import fake_http_connect, FakeRing, FakeMemcache
 
20
from test.unit import FakeRing, FakeMemcache
22
21
 
23
22
 
24
23
class TestObjControllerWriteAffinity(unittest.TestCase):
39
38
        local_first_nodes = list(controller.iter_nodes_local_first(
40
39
            self.app.object_ring, 1))
41
40
 
42
 
        fr = FakeRing()
43
 
 
44
41
        self.maxDiff = None
45
42
 
46
43
        self.assertEqual(all_nodes, local_first_nodes)