Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Commit

Permalink
Python: Add tests for imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleyvega committed Jul 27, 2021
1 parent bb2ff4e commit 814799a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions grpc/clients/python/tests/test_imports.py
@@ -0,0 +1,25 @@
import vegaapiclient as vac


def test_api():
assert "trading" in dir(vac.api)


def test_commands():
assert "v1" in dir(vac.commands)


def test_events():
assert "v1" in dir(vac.events)


def test_oracles():
assert "v1" in dir(vac.oracles)


def test_tm():
assert "replay" in dir(vac.tm)


def test_wallet():
assert "v1" in dir(vac.wallet)

0 comments on commit 814799a

Please sign in to comment.