hummingbot
hummingbot copied to clipboard
Feat/adapt connectors to poll
Before submitting this PR, please make sure:
- [ ] Your code builds clean without any errors or warnings
- [ ] You are using approved title ("feat/", "fix/", "docs/", "refactor/")
A description of the changes proposed in the pull request: Remove connectors based on the latest poll
Tests performed by the developer:
Tips for QA testing:
- Reviewed vega_perpetual removed from available connectors
- review vega_perpetual tests removed
old PR also contains this dependency
commit d5098e0
-
Review okx_perpetual test added to ignore in Makefile
-
Review vega_perpetual + tests removed
-
Review Polkadex removed (result of not voted in https://snapshot.box/#/s:hbot.eth)
-
Got an issue for vertex exchange on make test 3/3, also on clean install / reinstall
___________________________________________ TestVertexExchange.test_update_time_synchronizer_failure_is_logged ____________________________________________
self = <test.hummingbot.connector.exchange.vertex.test_vertex_exchange.TestVertexExchange testMethod=test_update_time_synchronizer_failure_is_logged>
mock_api = <aioresponses.core.aioresponses object at 0x783efc56f5e0>
@aioresponses()
def test_update_time_synchronizer_failure_is_logged(self, mock_api):
self.exchange._set_current_timestamp(1640780000)
url = self.get_query_url(CONSTANTS.QUERY_PATH_URL, CONSTANTS.STATUS_REQUEST_TYPE)
response = {"status": "success", "data": "failed"}
mock_api.get(url, body=json.dumps(response), status=400)
self.async_run_with_timeout(self.exchange._update_time_synchronizer())
> self.assertGreater(1640780000 * 1e-3, self.exchange._time_synchronizer.time())
E AssertionError: 1640780.0 not greater than 2216015.6838050615
test/hummingbot/connector/exchange/vertex/test_vertex_exchange.py:1121: AssertionError