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 YaPI-GetServiceStatus failing old testsuite #71

Merged
merged 2 commits into from
Nov 28, 2019

Conversation

teclator
Copy link
Contributor

@teclator teclator commented Nov 28, 2019

Problem

The YaPI-GetServiceStatus test started to fail because of this PR where basically an import of 'Systemd' was added.

Systemd imports FileUtils which imports Popup which imports Directory.

Solution

The issue could be solved in yast2 moving the Systemd import to the method which uses it, returning without importing in case of Mode.testsuite, but, as it is consequence of YaPI and a old testsuite, will just do an earlier import in the failing test. If we see that it affects other tests in other modules then it will be done also in yast2

@teclator teclator changed the title Fix getservice testsuite Fix YaPI-GetServiceStatus failing old testsuite Nov 28, 2019
@teclator teclator merged commit 2ac315a into master Nov 28, 2019
@teclator teclator deleted the fix_getservice_testsuite branch November 28, 2019 15:08
@yast-bot
Copy link
Contributor

✔️ Public Jenkins job #15 successfully finished
✔️ Created OBS submit request #751641

@yast-bot
Copy link
Contributor

✔️ Internal Jenkins job #6 successfully finished
✔️ Created IBS submit request #206578

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.

4 participants