Refresher object should contain a few handlers :param refresher: :return:
()
| 7 | |
| 8 | @staticmethod |
| 9 | def test_ctor(): |
| 10 | """ |
| 11 | Refresher object should contain a few handlers |
| 12 | :param refresher: |
| 13 | :return: |
| 14 | """ |
| 15 | refresher = CompletionRefresher() |
| 16 | assert len(refresher.refreshers) > 0 |
| 17 | actual_handlers = set(refresher.refreshers.keys()) |
| 18 | expected_handlers = set(['databases', 'schemas', 'tables', 'types', 'views']) |
| 19 | assert expected_handlers == actual_handlers |
| 20 | |
| 21 | @staticmethod |
| 22 | def test_refresh_called_once(): |
nothing calls this directly
no test coverage detected