File: TestGalaxyToolData.py

package info (click to toggle)
python-bioblend 1.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,096 kB
  • sloc: python: 7,596; sh: 219; makefile: 158
file content (15 lines) | stat: -rw-r--r-- 538 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from . import GalaxyTestBase


class TestGalaxyToolData(GalaxyTestBase.GalaxyTestBase):
    def test_get_data_tables(self):
        tables = self.gi.tool_data.get_data_tables()
        for table in tables:
            assert table["name"] is not None

    def test_show_data_table(self):
        tables = self.gi.tool_data.get_data_tables()
        table = self.gi.tool_data.show_data_table(tables[0]["name"])
        assert table["columns"] is not None
        assert table["fields"] is not None
        assert table["name"] is not None