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

towards pytest - continuation #1183

Merged
merged 14 commits into from
Jan 3, 2016
Merged

towards pytest - continuation #1183

merged 14 commits into from
Jan 3, 2016

Conversation

sils
Copy link
Member

@sils sils commented Jan 1, 2016

No description provided.

@sils sils force-pushed the sils/pytest branch 2 times, most recently from d07613d to be866ac Compare January 2, 2016 15:52
@gitmate-bot gitmate-bot added size/XL and removed size/L labels Jan 2, 2016
@sils sils changed the title WIP (towards pytest - continuation) towards pytest - continuation Jan 2, 2016
@Makman2
Copy link
Member

Makman2 commented Jan 3, 2016

@sils1297 can't you make a skip-function for the dbus stuff? less code duplication^^

This simplifies our test utilities since we switched to builtin unittest
test skipping.
This way pytest will ignore our Test* classes and not issue warnings
for them.
The official documentation can explain this better than we can, this is
useless documentation to maintain.
@sils
Copy link
Member Author

sils commented Jan 3, 2016

@Makman2 it's not really duplication, it covers different imports everywhere, hard to put into a function.

@Makman2
Copy link
Member

Makman2 commented Jan 3, 2016

can't you just import dbus completely and see whether it fails or not? That could fit into a function^^

@sils
Copy link
Member Author

sils commented Jan 3, 2016

@Makman2 then the other imports will fail and everything will error out again

@Makman2 Makman2 added process/approved The PR is approved and will be merged soon and removed process/pending review labels Jan 3, 2016
@sils
Copy link
Member Author

sils commented Jan 3, 2016

@rultor merge

@rultor
Copy link
Contributor

rultor commented Jan 3, 2016

@rultor merge

@sils1297 OK, I'll try to merge now. You can check the progress of the merge here

@rultor rultor merged commit 67b2493 into master Jan 3, 2016
@sils sils removed the process/approved The PR is approved and will be merged soon label Jan 3, 2016
@rultor
Copy link
Contributor

rultor commented Jan 3, 2016

@rultor merge

@sils1297 Done! FYI, the full log is here (took me 2min)

@sils sils deleted the sils/pytest branch January 5, 2016 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

4 participants