示例#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{})
}