def test_now_str(self): now = U.now(utc) self.assertEqual(now.strftime("%c"), U.now_str(utc), )
def now(args): ''' Tell the current time there. ''' yield 'Their time: {}'.format(U.now_str(args.remote_tz))
def test_now(self): self.in_command(C.now, U.now_str(self.remote_tz))