Fix calls to mock.assert_not_called()

There is no assert_not_called() method in mock, as described here:
https://code.google.com/p/mock/issues/detail?id=159
Fix these calls to use the assertEqual(0, mock.call_count) instead.
This patch also fixes a typo.

Change-Id: I7cfb968f6d4b775ceb901411ee8f24057d97cf91
Adds scenario tests for volume encryption

Two scenario tests and the supporting methods in the test manager
are added. For each encryption type, the test creates an image, boots an
instance of the image, creates an encryption type, creates a volume of that
type, attaches the volume to the instance, detaches it, and deletes
the encrypted volume and volume type.

Change-Id: Ib2c3f9b04d35a65ce2f0e45e63e940ecd92991d0
Implements: blueprint cinder-volume-encryption-tempest-tests
Verify delete-Floating-IP-Bulk Nova API attributes

This patch adds the JSON schema for Nova V2 delete-Floating-IP-Bulk
API response and validate the response with added JSON schema
to block the backward incompatibility change in the future.

The response body of delete-Floating-IP-Bulk V2 API is below:

{
    "floating_ips_bulk_delete": "192.168.1.0/24"
}

Partially implements blueprint nova-api-attribute-test

Change-Id: Id48ba7129d97c3691f8e61375f4205b1587d385b
Missing node driver interface validation API

This patch implements missing API test for node validation.

There are three categories of driver interfaces:

- `Core` interfaces provide the essential functionality for Ironic
   within OpenStack, and may be depended upon by other services.
   All drivers must implement these interfaces. Presently, the Core
   interfaces are "power" and "deploy".
- `Standard` interfaces provide functionality beyond the needs of
  OpenStack, but which has been standardized across all drivers and
  becomes part of Ironic's API.
  If a driver implements this interface, it must adhere to the standard.
  This is presented to encourage vendors to work together with the
  Ironic project and implement common features in a consistent way,
  thus reducing the burden on consumers of the API.
  Presently, the Standard interfaces are rescue and console.
- The `Vendor` interface allows an exemption to the API contract when
  a vendor wishes to expose unique functionality provided by their
  hardware and is unable to do so within the core or standard interfaces.
  In this case, Ironic will merely relay the message from the API service
  to the appropriate driver.

As all drivers must implement core interfaces, I am checking only
core interfaces for response body validation.

part of blueprint: missing-baremetal-api-test

Change-Id: Ib6e81c875d55fb0c86dbb0de1c9a8337831196cc
Fix race condition in flavor tests

* Flavor tests (admin) create and delete flavors globally, This causes race
  condition for Flavor list tests where the list test is using the
  currently created flavors for further operations

Use locally created flavor reference in Flavor list tests

Change-Id: Id557a58008cf42e94524b061acaad9bb89f42ec7
Closes-Bug: #1267949
Add skip decorators in test_servers_negative

This patch adds skip decorators in the resize methods of the
the test_servers_negative test in both admin and servers sections of
tempest/api/compute. When resize=false in tempest.conf, those tests
are therefore skipped. This prevents failures in environments
where resize is disabled.

Change-Id: Ic14a47ee46a4ee2f8278b688ce16c8510f5c6f32
Related-Bug: #1334311
Merge "Missing node driver interface validation API"
Merge "Fix race condition in flavor tests"
Merge "Fix calls to mock.assert_not_called()"
Merge "Add skip decorators in test_servers_negative"
Merge "Verify delete-Floating-IP-Bulk Nova API attributes"
Merge "Adds scenario tests for volume encryption"
Merge branch 'master' of https://github.com/openstack/tempest