Skip to content

Instantly share code, notes, and snippets.

Created September 12, 2014 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/703aadf9906a2579597c to your computer and use it in GitHub Desktop.
Save anonymous/703aadf9906a2579597c to your computer and use it in GitHub Desktop.
@mock.patch(NEUTRON_UTILS + "NeutronScenario.clients")
def test_router_connect(self, mock_clients, router, subnet):
scenario = utils.NeutronScenario()
subnet["subnet"] = {}
subnet["subnet"]["id"] = "rally-subnet-id"
router_id = "rally-test-id"
mock.clients("neutron").router_connect(router_id, subnet)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment