pulp / Pulp-2-Tests

:warning: ⛔️ Pulp2 is EOL as of November 30 2022, for more info visit this link https://pulpproject.org/2022/09/19/pulp-2-eol/. ⛔️ Functional tests for Pulp 2.
https://pulp-2-tests.readthedocs.io/
1 stars 11 forks source link

Add automation for issue 4262 #184

Closed rochacbruno closed 5 years ago

rochacbruno commented 5 years ago
  1. Create and sync a repository using a missing filelist feed URL.
  2. Get a reference to the task containing error information.
  3. Assert that:

Pulp #4262: https://pulp.plan.io/issues/4262

rochacbruno commented 5 years ago
$ py.test -sv  pulp_2_tests/tests/rpm/api_v2/test_sync_publish.py -k ErrorReportTestCase
Test session starts (platform: linux, Python 3.6.8, pytest 3.7.4)
 pulp_2_tests/tests/rpm/api_v2/test_sync_publish.py::ErrorReportTestCase.test_invalid_feed_error_message ✓
 pulp_2_tests/tests/rpm/api_v2/test_sync_publish.py::ErrorReportTestCase.test_missing_filelists_error_message ✓

Results (19.58s):
       2 passed
      20 deselected
nixocio commented 5 years ago

@bherrin3, any other comment?