comparison planemo/lib/python3.7/site-packages/bioblend/_tests/TestGalaxyToolData.py @ 0:d30785e31577 draft

"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
author guerler
date Fri, 31 Jul 2020 00:18:57 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:d30785e31577
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'])