Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why are there no output results ? #431

Open
witness99 opened this issue Feb 14, 2022 · 1 comment
Open

Why are there no output results ? #431

witness99 opened this issue Feb 14, 2022 · 1 comment

Comments

@witness99
Copy link

OK is normally printed. The test results are saved in HTML format. But,when a test result fails, there is no output.

This is the command line I wrote and the result:

1.normally,
[root@node1 s3-tests]# S3TEST_CONF=test.conf ./virtualenv/bin/nosetests s3tests.functional.test_s3:test_ranged_request_response_code --with-html --html-report=/var/www/html/index.html --html-report-template=virtualenv/lib/python2.7/site-packages/nose_html_reporting/templates/report2.jinja2 -v
s3tests.functional.test_s3.test_ranged_request_response_code ... ok


HTML: /var/www/html/index.html

Ran 1 test in 0.916s

OK

2.An error condition
[root@node1 s3-tests]# S3TEST_CONF=test.conf ./virtualenv/bin/nosetests s3tests.functional.test_s3:test_versioning_obj_suspend_versions --with-html --html-report=/var/www/html/index.html --html-report-template=virtualenv/lib/python2.7/site-packages/nose_html_reporting/templates/report2.jinja2 -v
s3tests.functional.test_s3.test_versioning_obj_suspend_versions ... FAIL
[root@node1 s3-tests]#

Why are there no output results ?

@hessio
Copy link

hessio commented Feb 14, 2022

if you use flag -v you should see output with "ok" if test passes and "ERROR" if it fails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants