Use gen_resource_name in create/delete user test
Using uuid in every testcase is already overcome. Change-Id: Ib651a0e97e8e19b12b0a2735a7694d0234e378fc
This commit is contained in:
parent
e44d95fa21
commit
31e189687e
@ -9,14 +9,13 @@
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
import uuid
|
||||
|
||||
from openstack_dashboard.test.integration_tests import helpers
|
||||
|
||||
|
||||
class TestUser(helpers.AdminTestCase):
|
||||
|
||||
USER_NAME = "user_" + str(uuid.uuid4())
|
||||
USER_NAME = helpers.gen_random_resource_name("user")
|
||||
|
||||
def test_create_delete_user(self):
|
||||
users_page = self.home_pg.go_to_identity_userspage()
|
||||
|
Loading…
Reference in New Issue
Block a user