@@ -0,0 +1,902 @@
+#%0A#  Copyright (c) 2014, Facebook, Inc.%0A#  All rights reserved.%0A#%0A#  This source code is licensed under the BSD-style license found in the%0A#  LICENSE file in the root directory of this source tree. An additional grant%0A#  of patent rights can be found in the PATENTS file in the same directory.%0A#%0A#%0Afrom atcd.AtcdVService import AtcdVService%0Afrom sparts.tests.base import ServiceTestCase%0A%0Aimport logging%0A%0A%0Aclass AtcdVServiceTest(ServiceTestCase):%0A%0A    def getServiceClass(self):%0A        return AtcdVService%0A%0A    def test_logger_use_syslog(self):%0A        handlers = self.service.logger.handlers%0A        self.assertTrue(%0A            'SysLogHandler' in %5Btype(h).__name__ for h in handlers%5D%0A        )%0A%0A    def test_logger_spart_syslog(self):%0A        handlers = logging.getLogger('sparts.tasks').handlers%0A        self.assertTrue(%0A            'SysLogHandler' in %5Btype(h).__name__ for h in handlers%5D%0A        )%0A

Add AtcdVService unittest