예제 #1
0
파일: list_test.go 프로젝트: bac/juju
func (s *UserListCommandSuite) newUserListCommand() cmd.Command {
	clock := &fakeClock{now: time.Date(2016, 9, 15, 12, 0, 0, 0, time.UTC)}
	api := &fakeUserListAPI{clock}
	return user.NewListCommandForTest(api, api, s.store, clock)
}
예제 #2
0
파일: list_test.go 프로젝트: imoapps/juju
func newUserListCommand() cmd.Command {
	return user.NewListCommandForTest(&fakeUserListAPI{})
}