When domain support in pulp_deb is activated, the test_deb_sync_publish test fails due to curl not being able to find the resource. This check is not to test if pulp-cli works correctly just a sanity check. It's not required and is frankly poorly written it should use the base_url provided by the distribution.
Removing the check is also viable.