Skip to content

Moved MockLocalOscillator definition from tests to `helpers.mock_instruments.MockLocalOscillator`

Explanation of changes

Moved MockLocalOscillator definition from tests to helpers.mock_instruments.MockLocalOscillator

Motivation of changes

Accessing this class can be useful for purposes other than pytest. Namely, it can be useful for quantify users in general who want to test their scripts while not being connected to a real Local Oscillator.


Merge checklist

See also merge request guidelines

  • Merge request has been reviewed and approved by a project maintainer.
  • Merge request contains a clear description of the proposed changes and the issue it addresses.
  • Merge request made onto appropriate branch (main for most MRs).
  • New code is fully tested.
  • New code is documented and docstrings use numpydoc format.
  • CHANGELOG.rst and AUTHORS.rst have been updated (when applicable).
  • CI pipelines pass
    • pre-commit run --all-files --hook-stage commit passes (gitlab-ci),
    • test suite passes (gitlab-ci),
    • no degradation in code-coverage (codacy),
    • no (serious) new pylint code quality issues introduced (codacy),
    • documentation builds successfully (CI and readthedocs),
    • windows tests pass (manually triggered by maintainers before merging).

For reference, the issues workflow is described in the contribution guidelines.

Edited by Edgar Reehuis

Merge request reports

Loading