Merge lp:~elopio/snappy/test-verify into lp:~mvo/snappy/snappy-verify

Proposed by Leo Arias
Status: Work in progress
Proposed branch: lp:~elopio/snappy/test-verify
Merge into: lp:~mvo/snappy/snappy-verify
Prerequisite: lp:~elopio/snappy/snappy_from_trunk
Diff against target: 16 lines (+9/-0)
1 file modified
_integration-tests/tests/latest/install_test.go (+9/-0)
To merge this branch: bzr merge lp:~elopio/snappy/test-verify
Reviewer Review Type Date Requested Status
Michael Vogt Pending
Review via email: mp+263318@code.launchpad.net

Commit message

Added an integration test for the verify command.

To post a comment you must log in.

Unmerged revisions

520. By Leo Arias

Added a todo comment.

519. By Leo Arias

Merged with the other verify branch.

518. By Leo Arias

Update the common calls.

517. By Leo Arias

Fixed the suite name.

516. By Leo Arias

Merged with prerequisite.

515. By Leo Arias

Added a verify test.

514. By Leo Arias

Merged with prerequisites.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '_integration-tests/tests/latest/install_test.go'
2--- _integration-tests/tests/latest/install_test.go 2015-06-30 03:41:01 +0000
3+++ _integration-tests/tests/latest/install_test.go 2015-06-30 03:41:01 +0000
4@@ -92,3 +92,12 @@
5 expected := "(?ms).*^apps: hello-world\n"
6 c.Assert(infoOutput, Matches, expected)
7 }
8+
9+func (s *installSuite) TestVerifyWithInstalledPackage(c *C) {
10+ installSnap(c, "hello-world")
11+
12+ verifyOutput := ExecCommand(c, "snappy", "verify")
13+
14+ // TODO fill the right expected message.
15+ c.Assert(verifyOutput, Equals, "Verified successfully")
16+}

Subscribers

People subscribed via source and target branches

to all changes: