def test___save_active_file(self):
        self.task._name = 'test'
        self.task._start_time = datetime(2012, 04, 23, 15, 18, 22)
        self.task._owner = 1000
        self.task._save_active_file()

        self.assertEqual(open(self.task._paths['active_file'], 'r').read(),
                         _ACTIVE_FILE_DATA)
RESTful CRUD controller
dataset/ETHPy150Open xtrementl/focus/tests/unit/test_task.py/TestTask.test___save_active_file--crossover with--dataset/ETHPy150Open sahana/eden/controllers/pr.py/presence