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
Minitest port API test_contentview #5843
Comments
Well, if something is tested in Katello, it is CVs, so minimal changes introduced in my PR, majority of listed tests already existed in some form, summary: test_negative_create_with_invalid_name test_positive_clone test_positive_create_composite test_positive_create_with_description test_positive_create_with_name test_positive_publish_with_long_name test_negative_update_label test_negative_update_name test_positive_update_attributes test_positive_update_name test_positive_delete |
@pondrejk you can already add test_attributes on the tests in question to have a clear picture what test is being ported and covered by which tests, also if the tests already exists in controllers you can add assertions on returned controller fields values so we will be sure that, that fields are really returned as expected by robottelo tests. |
@pondrejk test_negative_update_label is not adequately covered, this test should not be ported at all with self.assertRaises(HTTPError):
entities.ContentView(
id=self.content_view.id,
label=gen_string('alpha')).update(['label']) Also the description we have to a should allow_values to be fully covered |
@pondrejk by the otherhand we can add a robottelo test that rely on the fact that the label value was not updated |
Target project : Katello
The text was updated successfully, but these errors were encountered: