Add "notary lookup" to the integration tests.

Signed-off-by: Ying Li <ying.li@docker.com>
Signed-off-by: David Lawrence <david.lawrence@docker.com>

Signed-off-by: Ying Li <ying.li@docker.com> (github: endophage)
This commit is contained in:
Ying Li 2015-11-08 16:12:59 -08:00 committed by David Lawrence
parent ef1d5caa1a
commit 9a01cf091d
1 changed files with 5 additions and 0 deletions

View File

@ -118,6 +118,11 @@ func TestClientTufInteraction(t *testing.T) {
assert.NoError(t, err)
assert.True(t, strings.Contains(string(output), target))
// lookup target and repo - see target
output, err = runCommand(t, tempDir, "-s", server.URL, "lookup", "gun", target)
assert.NoError(t, err)
assert.True(t, strings.Contains(string(output), target))
// verify repo - empty file
output, err = runCommand(t, tempDir, "verify", "gun", target)
assert.NoError(t, err)