Skip to content

Instantly share code, notes, and snippets.

@stajkowski
Created March 16, 2016 16:08
Show Gist options
  • Select an option

  • Save stajkowski/6e9d48d6ff55756628b2 to your computer and use it in GitHub Desktop.

Select an option

Save stajkowski/6e9d48d6ff55756628b2 to your computer and use it in GitHub Desktop.
test
def test_delete_network_exception(self):
tenants = self.tenants.list()
network = self.networks.first()
api.neutron.list_dhcp_agent_hosting_networks(IsA(http.HttpRequest),
network.id).\
AndReturn(self.agents.list())
api.neutron.network_ip_availability_show(IsA(http.HttpRequest),
network.id).\
AndReturn(self.agents.list())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment