Cleaned up unit tests. (refs #2620)
authorTim Pierce <twp@curoverse.com>
Fri, 25 Apr 2014 20:58:32 +0000 (16:58 -0400)
committerTim Pierce <twp@curoverse.com>
Fri, 25 Apr 2014 21:06:37 +0000 (17:06 -0400)
commite05f165ac12cb54faad707548b8b8f2005f2eef6
tree407d78449fa32823f26b6bfd1f53d852a0aa9959
parentb860994fa83b9f11b7243220efb8f2fe9b2e2917
Cleaned up unit tests. (refs #2620)

Added a MockVolume implementation to use in unit tests for the
Keep front-end handlers.

Simplified IsValidLocator and keep_test.go:setup code.
services/keep/src/keep/keep.go
services/keep/src/keep/keep_test.go
services/keep/src/keep/volume.go
services/keep/src/keep/volume_test.go