def test_completer_active(self): CLICompletion(cli_ctx=self.mock_ctx) self.assertTrue(self.mock_ctx.data['completer_active'])
def test_cli_ctx_type_error(self): with self.assertRaises(TypeError): CLICompletion(cli_ctx=object())