Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1142)

Unified Diff: environs/ec2/suite_test.go

Issue 6355090: environs/ec2: enable local ec2 provisioner tests (Closed)
Patch Set: environs/ec2: enable local ec2 provisioner tests Created 12 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « environs/ec2/local_test.go ('k') | environs/jujutest/livetests.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: environs/ec2/suite_test.go
=== modified file 'environs/ec2/suite_test.go'
--- environs/ec2/suite_test.go 2012-07-10 00:12:25 +0000
+++ environs/ec2/suite_test.go 2012-07-11 02:46:47 +0000
@@ -2,15 +2,15 @@
import (
"flag"
- . "launchpad.net/gocheck"
"launchpad.net/juju-core/environs/ec2"
- "testing"
+ coretesting "launchpad.net/juju-core/testing"
+ stdtesting "testing"
)
var regenerate = flag.Bool("regenerate-images", false, "regenerate all data in images directory")
var amazon = flag.Bool("amazon", false, "Also run some tests on live Amazon servers")
-func TestEC2(t *testing.T) {
+func TestEC2(t *stdtesting.T) {
if *regenerate {
ec2.RegenerateImages(t)
}
@@ -18,5 +18,5 @@
registerAmazonTests()
}
registerLocalTests()
- TestingT(t)
+ coretesting.ZkTestPackage(t)
}
« no previous file with comments | « environs/ec2/local_test.go ('k') | environs/jujutest/livetests.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b