- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在 tempest 文件夹中创建了一个 sampletest.txt 文件,并在该文件中写入了 tempest 测试用例位置。
现在我想使用 testr 或 nosetest 运行该文件,以便执行该文件中存在的所有测试用例..
例子
sampletest.txt 文件中的内容
tempest.api.identity.admin.test_users:UsersTestJSON.test_create_user_with_enabled
tempest.api.identity.admin.test_roles:RolesTestJSON.test_role_create_delete
tempest.api.identity.admin.test_roles:RolesTestJSON.test_get_role_by_id
tempest.api.identity.admin.test_roles:RolesTestJSON.test_remove_user_role
现在我想执行这个 sampletest.txt 文件,以便执行所有测试用例......
如果我正在执行这个文件 nosetests -vx sampletest.txt ,我会收到错误
最佳答案
尝试使用倾斜和 cat 文件例如:
nosetest -vx `cat sampletest.txt`
[identity]
uri=http://127.0.0.1:5000/v2.0/
uri_v3 = http://127.0.0.1:5000/v3/
auth_version=v2
admin_domain_name = Default
admin_tenant_name = admin
admin_password = {your_openstack_admin_login_password}
admin_username = admin
tenant_name = {non-admin-tenant-eg-demo}
username = {non-admin-user-eg-demo}
password = {non-admin-user-password}
[dashboard]
login_url=http://127.0.0.1/auth/login/
uri_v3 = http://127.0.0.1:5000/v3/
关于python-2.7 - 无法在组中运行 openstack tempest 测试用例,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25384154/
我在 tempest 文件夹中创建了一个 sampletest.txt 文件,并在该文件中写入了 tempest 测试用例位置。 现在我想使用 testr 或 nosetest 运行该文件,以便执行该
我正在尝试通过terraform使用typhoon创建台风K8s集群。 我正在尝试使用台风在AWS上创建Kubernetes集群,但是我的进度仍然在link 奇怪的是,此错误使输出停滞了几个小时 mo
我是一名优秀的程序员,十分优秀!