|
Move RepoSuite to live alongside JujuConnSuite
This is the first step to implementing the upgrade-charm command, so that many of the tests involved with upgrading a charm can be performed from the statecmd_test package. This is a mostly mechanical change that moves the RepoSuite from just the cmd/juju package to juju/testing. The next step will be to refactor the deploy API command to be a proper statecmd, which can then be tested properly (it isn't, at the moment). Finally, as portions of the upgrade-charm statecmd will require deploying charms, the upgrade charm command can be moved to statecmd and tested properly. These branches will be proposed in order with requisites.
https://code.launchpad.net/~makyo/juju-core/reposuite-refactor/+merge/162457
(do not edit description out of merge proposal)
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+171 lines, -152 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/addrelation_test.go
|
View
|
1
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/addunit_test.go
|
View
|
1
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/deploy_test.go
|
View
|
1
|
7 chunks |
+20 lines, -111 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/destroymachine_test.go
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/destroyrelation_test.go
|
View
|
1
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/destroyservice_test.go
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/destroyunit_test.go
|
View
|
1
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/environment_test.go
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/expose_test.go
|
View
|
1
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/resolved_test.go
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/unexpose_test.go
|
View
|
1
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/upgradecharm_test.go
|
View
|
1
|
9 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
A |
juju/testing/repo.go
|
View
|
|
1 chunk |
+98 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5
|