comparison env/lib/python3.7/site-packages/bioblend/_tests/TestGalaxyToolData.py @ 2:6af9afd405e9 draft

"planemo upload commit 0a63dd5f4d38a1f6944587f52a8cd79874177fc1"
author shellac
date Thu, 14 May 2020 14:56:58 -0400
parents 26e78fe6e8c4
children
comparison
equal deleted inserted replaced
1:75ca89e9b81c 2:6af9afd405e9
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, test_util
6
7
8 @test_util.skip_unless_galaxy('release_15.01')
9 class TestGalaxyToolData(GalaxyTestBase.GalaxyTestBase):
10
11 def test_get_data_tables(self):
12 tables = self.gi.tool_data.get_data_tables()
13 for table in tables:
14 self.assertIsNotNone(table['name'])
15
16 def test_show_data_table(self):
17 tables = self.gi.tool_data.get_data_tables()
18 table = self.gi.tool_data.show_data_table(tables[0]['name'])
19 self.assertIsNotNone(table['columns'])
20 self.assertIsNotNone(table['fields'])
21 self.assertIsNotNone(table['name'])