Mercurial > repos > shellac > sam_consensus_v3
comparison env/lib/python3.9/site-packages/bioblend/_tests/TestGalaxyToolData.py @ 0:4f3585e2f14b draft default tip
"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author | shellac |
---|---|
date | Mon, 22 Mar 2021 18:12:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4f3585e2f14b |
---|---|
1 """ | |
2 Tests the functionality of the Blend CloudMan API. These tests require working | |
3 credentials to supported cloud infrastructure. | |
4 """ | |
5 from . import GalaxyTestBase | |
6 | |
7 | |
8 class TestGalaxyToolData(GalaxyTestBase.GalaxyTestBase): | |
9 | |
10 def test_get_data_tables(self): | |
11 tables = self.gi.tool_data.get_data_tables() | |
12 for table in tables: | |
13 self.assertIsNotNone(table['name']) | |
14 | |
15 def test_show_data_table(self): | |
16 tables = self.gi.tool_data.get_data_tables() | |
17 table = self.gi.tool_data.show_data_table(tables[0]['name']) | |
18 self.assertIsNotNone(table['columns']) | |
19 self.assertIsNotNone(table['fields']) | |
20 self.assertIsNotNone(table['name']) |