(self)
| 139 | self.name = name |
| 140 | |
| 141 | def test(self): |
| 142 | log = LogHandler('ssdb_client') |
| 143 | try: |
| 144 | self.getCount() |
| 145 | except TimeoutError as e: |
| 146 | log.error('ssdb connection time out: %s' % str(e), exc_info=True) |
| 147 | return e |
| 148 | except ConnectionError as e: |
| 149 | log.error('ssdb connection error: %s' % str(e), exc_info=True) |
| 150 | return e |
| 151 | except ResponseError as e: |
| 152 | log.error('ssdb connection error: %s' % str(e), exc_info=True) |
| 153 | return e |
nothing calls this directly
no test coverage detected