handler_test.py 291 Bytes
Newer Older
1
from fractalis.data.etlhandler import ETLHandler
2
3
4
5


class TestHandler(ETLHandler):

Sascha Herzinger's avatar
Sascha Herzinger committed
6
    _handler = 'test'
7

8
9
    @staticmethod
    def make_label(descriptor):
10
        return descriptor.get('label')
11

12
13
    def _get_token_for_credentials(self, server: str, auth: dict) -> str:
        return 'abc'