Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Basic Integration Tests #26

Merged
merged 3 commits into from
Nov 1, 2019
Merged

Basic Integration Tests #26

merged 3 commits into from
Nov 1, 2019

Conversation

perigrin
Copy link
Contributor

@perigrin perigrin commented Nov 1, 2019

Adds integration tests with the V3 server, tests that we can do all the basic interactions with the server that the client needs.

In the process of writing all of these tests we did a reasonable amount of cleanup, refactoring, and implementing internal structures to make testing easier.

The fixtures system was also re-worked significantly. It's destined to be entirely replaced with something less ... simplistic ... but for now we need to move on.

* cleanup import lines

* A few new CreateFromStruct() methods
   - add Datacenter.CreateFromStruct() method
   - add Rooms.CreateFromStruct(r Room)
   - add RackRoles.CreateFromStruct(r RackRole)

* show room ID

* s/vendor/hardware_vendor_id/

* add commands to get the ValidationPlans

* small tweaks to hardware to bring it inline with the codebase

* add a way to create a device in a build without a report

* add a way to delete a device location

* add a way to create a HardwareProductProfile for tests

* s/Orgs/OrgList/
@perigrin perigrin merged commit 0cba8d7 into master Nov 1, 2019
@perigrin perigrin deleted the perigrin/18-integration-tests branch November 1, 2019 21:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant