aboutsummaryrefslogtreecommitdiffstats
path: root/python-packages/sra_client/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2019-01-09 19:02:25 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2019-01-09 19:02:25 +0800
commitea14913b412e78ff458bdfba47182f7363e776e5 (patch)
tree3ee220bfbbd9923b5e1adc36ee51f9b5d39ad640 /python-packages/sra_client/test
parent5868c91cfb54cfa9177572b201d88d1168bf5b06 (diff)
parent5dd55491b86bf8577405e37d0f2d668aa1273b10 (diff)
downloaddexon-sol-tools-ea14913b412e78ff458bdfba47182f7363e776e5.tar
dexon-sol-tools-ea14913b412e78ff458bdfba47182f7363e776e5.tar.gz
dexon-sol-tools-ea14913b412e78ff458bdfba47182f7363e776e5.tar.bz2
dexon-sol-tools-ea14913b412e78ff458bdfba47182f7363e776e5.tar.lz
dexon-sol-tools-ea14913b412e78ff458bdfba47182f7363e776e5.tar.xz
dexon-sol-tools-ea14913b412e78ff458bdfba47182f7363e776e5.tar.zst
dexon-sol-tools-ea14913b412e78ff458bdfba47182f7363e776e5.zip
Merge development
Diffstat (limited to 'python-packages/sra_client/test')
-rw-r--r--python-packages/sra_client/test/__init__.py0
-rw-r--r--python-packages/sra_client/test/test_default_api.py35
2 files changed, 35 insertions, 0 deletions
diff --git a/python-packages/sra_client/test/__init__.py b/python-packages/sra_client/test/__init__.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/python-packages/sra_client/test/__init__.py
diff --git a/python-packages/sra_client/test/test_default_api.py b/python-packages/sra_client/test/test_default_api.py
new file mode 100644
index 000000000..d23c6173f
--- /dev/null
+++ b/python-packages/sra_client/test/test_default_api.py
@@ -0,0 +1,35 @@
+# coding: utf-8
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import sra_client
+from sra_client.api.default_api import DefaultApi # noqa: E501
+from sra_client.models.relayer_api_asset_data_pairs_response_schema import (
+ RelayerApiAssetDataPairsResponseSchema
+)
+from sra_client.rest import ApiException
+
+
+class TestDefaultApi(unittest.TestCase):
+ """DefaultApi unit test stubs"""
+
+ def setUp(self):
+ self.api = sra_client.api.default_api.DefaultApi() # noqa: E501
+
+ def tearDown(self):
+ pass
+
+ def test_get_asset_pairs(self):
+ """Test case for get_asset_pairs
+
+ """
+ expected = RelayerApiAssetDataPairsResponseSchema([])
+ actual = self.api.get_asset_pairs()
+ self.assertEqual(actual, expected)
+
+
+if __name__ == "__main__":
+ unittest.main()