def test_name(): exchange = Kraken('a', b'a', object(), object()) assert exchange.name == 'kraken'
def test_name(): exchange = Kraken('kraken1', 'a', b'a', object(), object()) assert exchange.location == Location.KRAKEN assert exchange.name == 'kraken1'