summaryrefslogtreecommitdiff
path: root/nova/tests/unit/test_identity.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests/unit/test_identity.py')
-rw-r--r--nova/tests/unit/test_identity.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/unit/test_identity.py b/nova/tests/unit/test_identity.py
index 099a9182d7..2bb5e7f9c0 100644
--- a/nova/tests/unit/test_identity.py
+++ b/nova/tests/unit/test_identity.py
@@ -13,7 +13,7 @@
# License for the specific language governing permissions and limitations
# under the License.
-import mock
+from unittest import mock
from keystoneauth1.adapter import Adapter
from keystoneauth1 import exceptions as kse
@@ -29,7 +29,7 @@ class IdentityValidationTest(test.NoDBTestCase):
There are times when Nova stores keystone project_id and user_id
in our database as strings. Until the Pike release none of this
- data was validated, so it was very easy for adminstrators to think
+ data was validated, so it was very easy for administrators to think
they were adjusting quota for a project (by name) when instead
they were just inserting keys in a database that would not get used.