~gandelman-a/ubuntu/precise/nova/UCA_2012.2.1

« back to all changes in this revision

Viewing changes to nova/tests/db/fakes.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Chuck Short, Adam Gandelman
  • Date: 2012-06-22 12:39:57 UTC
  • mfrom: (1.1.57)
  • Revision ID: package-import@ubuntu.com-20120622123957-hbzwg84nt9rqwg8r
Tags: 2012.2~f2~20120621.14517-0ubuntu1
[ Chuck Short ]
* New upstream version.

[ Adam Gandelman ]
* debian/rules: Temporarily disable test suite while blocking
  tests are investigated. 
* debian/patches/kombu_tests_timeout.patch: Dropped.

Show diffs side-by-side

added added

removed removed

Lines of Context:
304
304
        return [FakeModel(n) for n in networks
305
305
                if n['project_id'] == project_id]
306
306
 
307
 
    def fake_queue_get_for(context, topic, node):
308
 
        return "%s.%s" % (topic, node)
309
 
 
310
307
    funcs = [fake_floating_ip_allocate_address,
311
308
             fake_floating_ip_deallocate,
312
309
             fake_floating_ip_disassociate,
335
332
             fake_network_get_all_by_instance,
336
333
             fake_network_set_host,
337
334
             fake_network_update,
338
 
             fake_project_get_networks,
339
 
             fake_queue_get_for]
 
335
             fake_project_get_networks]
340
336
 
341
337
    stub_out(stubs, funcs)
342
338