[Mod] tests_import_all: skip importing XTP under OSX
This commit is contained in:
parent
a8f06a0139
commit
304072f96d
@ -78,6 +78,8 @@ class GatewayImportTest(unittest.TestCase):
|
|||||||
def test_import_tora(self):
|
def test_import_tora(self):
|
||||||
from vnpy.gateway.tora import ToraGateway
|
from vnpy.gateway.tora import ToraGateway
|
||||||
|
|
||||||
|
@unittest.skipIf(platform.system() == "Linux", "Not supported yet under Linux")
|
||||||
|
@unittest.skipIf(platform.system() == "Darwin", "Not supported yet under osx")
|
||||||
def test_import_xtp(self):
|
def test_import_xtp(self):
|
||||||
from vnpy.gateway.xtp import XtpGateway
|
from vnpy.gateway.xtp import XtpGateway
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user