Fix typo of setUpClass

There are a few same pattern of typo related to setUpClass.
Let's fix them.

Change-Id: Ic835bb37353f1ef6623d55f294c09f4f06a4be44
This commit is contained in:
Ken'ichi Ohmichi 2017-03-03 18:28:05 -08:00
parent f4b538cf21
commit 4d8ba2377b
2 changed files with 4 additions and 4 deletions

View File

@ -64,7 +64,7 @@ The Old Way using subunit2sql directly
SELECT * from tests where test_id like "%test_id%";
(where $test_id is the full test_id, but truncated to the class because of
setupClass or tearDownClass failures)
setUpClass or tearDownClass failures)
You can access the infra mysql subunit2sql db w/ read-only permissions with:
@ -82,7 +82,7 @@ you would run the following:
#. run the query: MySQL [subunit2sql]> select * from tests where test_id like
"tempest.api.compute.admin.test_flavors_negative.FlavorsAdminNegativeTestJSON%";
which will return a table of all the tests in the class (but it will also
catch failures in setupClass and tearDownClass)
catch failures in setUpClass and tearDownClass)
#. paste the output table with numbers and the mysql command you ran to
generate it into the etherpad.

View File

@ -471,7 +471,7 @@ class ServerActionsTestJSON(base.BaseV2ComputeTest):
# NOTE: SHUTOFF is irregular status. To avoid test instability,
# one server is created only for this test without using
# the server that was created in setupClass.
# the server that was created in setUpClass.
server = self.create_test_server(wait_until='ACTIVE')
temp_server_id = server['id']