comparison env/lib/python3.7/site-packages/bioblend/_tests/TestGalaxyToolData.py @ 5:9b1c78e6ba9c draft default tip

"planemo upload commit 6c0a8142489327ece472c84e558c47da711a9142"
author shellac
date Mon, 01 Jun 2020 08:59:25 -0400
parents 79f47841a781
children
comparison
equal deleted inserted replaced
4:79f47841a781 5:9b1c78e6ba9c
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'])