Project

General

Profile

Actions

Bug #4562

closed

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

Added by David Davis about 10 years ago. Updated almost 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 #1

Updated by Eric Helms almost 10 years ago

  • Difficulty set to trivial
  • Triaged set to Yes
Actions #2

Updated by Eric Helms over 8 years ago

  • translation missing: en.field_release set to 86
Actions #3

Updated by Partha Aji over 8 years ago

  • Pull request https://github.com/Katello/katello/pull/5737 added
Actions #4

Updated by Eric Helms over 8 years ago

  • Status changed from New to Ready For Testing
Actions #5

Updated by David Davis over 8 years ago

  • Related to Bug #13423: Fix katello test code for Pulp 2.8 added
Actions #6

Updated by Eric Helms over 8 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF