Skip to content

Add unit tests - #18

Merged
Guen Prawiroatmodjo (guenp) merged 4 commits into
mainfrom
feature/unit-tests
Jan 29, 2021
Merged

Guen Prawiroatmodjo (guenp) merged 4 commits into
mainfrom
feature/unit-tests

Conversation

@guenp

Copy link
Copy Markdown

No description provided.

Guen Prawiroatmodjo and others added 4 commits January 22, 2021 11:34
* Initial job unit tests

* Update TestJob to use network recordings

* Fix mock auth token issue and bug in Workspace.login()

* Update azure-quantum/azure/quantum/job.py

Convert UUID to str

Co-authored-by: Guen P <[email protected]>

* Update azure-quantum/tests/unit/recording_updater.py

Update doc string for RecordingUpdater

Co-authored-by: Guen P <[email protected]>

* Update azure-quantum/tests/unit/test_job.py

Add doc string to update_recordings_with_dummy_values() function.

Co-authored-by: Guen P <[email protected]>

* Update azure-quantum/tests/unit/workspace_init.py

Add doc string to create_workspace_mock_login() function.

Co-authored-by: Guen P <[email protected]>

* Update azure-quantum/tests/unit/test_workspace.py

Add comment to call of create_workspace_mock_login().

Co-authored-by: Guen P <[email protected]>

* Address comments

* Add remaining unit tests for Job

Co-authored-by: Tom Brown <[email protected]>
Co-authored-by: Guen P <[email protected]>
* add test coverage report using pytest-cov
@vxfield
XField (vxfield) deleted the feature/unit-tests branch August 26, 2021 22:24
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.

2 participants