Skip to content
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

Fix the repo name selection #64

Merged
merged 2 commits into from
Sep 14, 2018
Merged

Fix the repo name selection #64

merged 2 commits into from
Sep 14, 2018

Conversation

dgdavid
Copy link
Member

@dgdavid dgdavid commented Sep 12, 2018

Related to https://bugzilla.suse.com/show_bug.cgi?id=1108139


During the AddOn auto client refactorization a typo was introduced at the time to get the repo name, asking for media key instead of the right media_url. In addition, also the default value for .fetch was forgotten.

This PR fix those bugs and the implied test has been adapted a little to ensure a minimum coverage of the preferred_name_for method.

It was broken after the refactorization of AddOn auto client, due to a
wrong use of `.fetch`. The test has been also adapted to increase the
coverage of method in charge to select the name.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.4%) to 18.865% when pulling da9dc71 on fix/bsc-1108139 into 4d06329 on master.

@dgdavid dgdavid merged commit d7bad88 into master Sep 14, 2018
@dgdavid dgdavid deleted the fix/bsc-1108139 branch September 14, 2018 13:40
@yast-bot
Copy link
Contributor

✔️ Public Jenkins job #9 successfully finished
✔️ Created OBS submit request #635774

@yast-bot
Copy link
Contributor

✔️ Internal Jenkins job #11 successfully finished
✔️ Created IBS submit request #172186

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants