MCPcopy Create free account
hub / github.com/ccxt/ccxt / test_strip

Function test_strip

python/ccxt/test/base/test_strip.py:18–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16from ccxt.test.exchange.base import test_shared_methods # noqa E402
17
18def test_strip():
19 exchange = ccxt.Exchange({
20 'id': 'sampleexchange',
21 })
22 assert exchange.strip(' asd') == 'asd'
23 assert exchange.strip(' asd') == 'asd'
24 assert exchange.strip('asd ') == 'asd'
25 assert exchange.strip('asd ') == 'asd'
26 assert exchange.strip(' asd ') == 'asd'
27 assert exchange.strip(' asd ') == 'asd'
28 assert exchange.strip('asd') == 'asd'
29 assert exchange.strip('') == ''

Callers 1

base_tests_initFunction · 0.90

Calls 2

stripMethod · 0.95
ExchangeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…