We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1f8dce commit 03c16d0Copy full SHA for 03c16d0
tests/commands/test_commands.py
@@ -160,6 +160,19 @@ def test_list_exchanges(capsys):
160
assert re.search(r"^bingx$", captured.out, re.MULTILINE)
161
assert re.search(r"^bitmex$", captured.out, re.MULTILINE)
162
163
+ # Only dex
164
+ args = [
165
+ "list-exchanges",
166
+ "--dex",
167
+ ]
168
+
169
+ start_list_exchanges(get_args(args))
170
+ captured = capsys.readouterr()
171
+ assert re.search(r"Exchanges available for Freqtrade.*", captured.out)
172
+ assert not re.search(r".*binance.*", captured.out)
173
+ assert not re.search(r".*bingx.*", captured.out)
174
+ assert re.search(r".*hyperliquid.*", captured.out)
175
176
177
def test_list_timeframes(mocker, capsys):
178
api_mock = MagicMock()
0 commit comments