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
acceptance tests #220
acceptance tests #220
Conversation
ecba66b
to
067f9e9
Compare
Codecov Report
@@ Coverage Diff @@
## master #220 +/- ##
=======================================
Coverage 72.66% 72.66%
=======================================
Files 35 35
Lines 1950 1950
=======================================
Hits 1417 1417
Misses 477 477
Partials 56 56 Continue to review full report at Codecov.
|
d6a07e9
to
cf5c027
Compare
ready for review & merging |
cf5c027
to
a334441
Compare
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Introduce some refactoring to Client wrappers. Make it explicit that some are based on swagger spec while others are not. Have tests classes call setup_swagger() explicitly (cannot do it in constructors because Pytest would ignore those tests). Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
…ent tests Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Add 'aborted' to enum of device deployment statuses. The status is assigned to device deployment when a deployment gets aborted. Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
If device token canot be interpreted, the API can return 400 Bad Request. Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
a334441
to
1c6acff
Compare
FWIW integration jobs are failing due to unrelated reasons, acceptance tests are green |
@GregorioDiStefano can you have a peek ? |
@bboozzoo can you add a test to verify that a deployment status correctly reports the valid state at this end point: https://docs.mender.io/1.0/APIs/Management-APIs/Deployments#get-the-details-of-a-selected-deployment |
damn github UI doesn't load the entire changes unless you do some clicking... |
BTW. a number of observations (as it's the 3rd service to get acceptance tests):
|
are you sure about the lacking delete support? I'm pretty sure it supports DELETE |
Last time I used delete was when writing deviceauth acceptance tests and you could call a method but there was no associated HTTP request going out (and no exception either). |
Any more changes needed here? |
@GregorioDiStefano replaced artifact deletion with this:
and artifacts are no longer removed, there's no delete request to the backend at all ;) |
merge? |
It's a WIP, don't merge yet.
@maciejmrowiec @mendersoftware/rndity