示例#1
0
文件: commands.py 项目: crodjer/atg
def status(args):
    '''
    Get the probable status for people there.
    '''

    yield 'People there may be {}.'.format(
        U.status(args.remote_tz).status
    )
示例#2
0
文件: test_utils.py 项目: crodjer/atg
 def test_status(self):
     self.assertEqual(
         Activities.at(datetime.utcnow()),
         U.status(utc)
     )
示例#3
0
 def test_status(self):
     self.in_command(C.status, U.status(self.remote_tz).status)