Project

General

Profile

Actions

Bug #4562

closed

The relative_path of repositories fixtures is wrong. Has erroneous leading slash.

Added by David Davis over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Tests
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

For example, the relative_path for fedora_17_x86_64 is '/ACME_Corporation/library/fedora_17_label'. It should not have a leading slash. Here's some code from Repository.clone_repo_path:

org, _, content_path = repo_lib.relative_path.split("/", 3)

With this code, org becomes "" while _ becomes "ACME_Corporation" and content_path is "library/fedora_17_label". We need to fix the fixtures and any breaking tests.


Related issues 1 (0 open1 closed)

Related to Katello - Bug #13423: Fix katello test code for Pulp 2.8ClosedPartha Aji01/27/2016Actions
Actions

Also available in: Atom PDF