mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-15 11:22:18 +08:00
28 lines
448 B
Python
28 lines
448 B
Python
import unittest
|
|
import abc
|
|
from abc import ABCMeta
|
|
|
|
|
|
class BaseExchangeTestCase():
|
|
__metaclass__ = ABCMeta
|
|
|
|
@abc.abstractmethod
|
|
def test_order(self):
|
|
pass
|
|
|
|
@abc.abstractmethod
|
|
def test_cancel_order(self):
|
|
pass
|
|
|
|
@abc.abstractmethod
|
|
def test_order_status(self):
|
|
pass
|
|
|
|
@abc.abstractmethod
|
|
def test_balance(self):
|
|
pass
|
|
|
|
@abc.abstractmethod
|
|
def test_ticker(self):
|
|
pass
|