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

Commit

Permalink
Merge pull request #628 from obedmr/unit-testing
Browse files Browse the repository at this point in the history
ciao-image: Add unit testing for uploadImage function
  • Loading branch information
kaccardi authored Oct 6, 2016
2 parents 6487050 + 7ba3b18 commit a42c6da
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions openstack/image/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ var tests = []test{
http.StatusNoContent,
`null`,
},
{
"PUT",
"/v2/images/1bea47ed-f6a9-463b-b423-14b9cca9ad27",
uploadImage,
"",
http.StatusNoContent,
`null`,
},
}

func myHostname() string {
Expand Down

0 comments on commit a42c6da

Please sign in to comment.