def test_connect(self):
        with HTTMock(self.mock_oauth2_token):
            self.pd_client = pokitdok.api.connect(self.CLIENT_ID, self.CLIENT_SECRET)

        assert self.pd_client.api_client is not None
        assert self.pd_client.api_client.token is not None
Maximum subarray sum
dataset/ETHPy150Open pokitdok/pokitdok-python/tests/test_api_client.py/TestAPIClient.test_connect--crossover with--dataset/ETHPy150Open algorhythms/LeetCode/122 Best Time to Buy and Sell Stock.py/Solution.maxProfit