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

Enable monitor tests #1533

Merged
merged 4 commits into from
Dec 18, 2018
Merged

Conversation

diego-plan9
Copy link
Member

Summary

Following up on #1231: adds a __init__.py to test/python/tools/monitor/ so the tests are actually executed by the CIs and tooling.

Details and comments

@diego-plan9 diego-plan9 changed the title Enable job monitor tests Enable monitor tests Dec 17, 2018
Copy link
Member

@mtreinish mtreinish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really think we should keep the __init__.py files empty if there is nothing in there. But, it's not worth blocking over a small fix like this.

# This source code is licensed under the Apache License, Version 2.0 found in
# the LICENSE.txt file in the root directory of this source tree.

"""Tests for Jupyter-related functionality."""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems a bit absurd we need a docstring for an empty file? Also the copyright header doesn't really apply because there is no "source code" to license.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically it is not "a docstring for an empty file" - it is the docstring for the package.

But on a more practical tone, it's mostly about sticking to the current convention we have in place and being consistent - I'm personally happy to reevaluate it as a whole if needed, but seeing that it was mostly introduced at #550 and that it enters the legal territory, I'd err on the side of caution in these cases.

@diego-plan9 diego-plan9 merged commit c492f56 into Qiskit:master Dec 18, 2018
lia-approves pushed a commit to edasgupta/qiskit-terra that referenced this pull request Jul 30, 2019
@diego-plan9 diego-plan9 deleted the fix/backend-monitor-test branch March 30, 2020 12:59
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