File: TestGalaxyConfig.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 (22 lines) | stat: -rw-r--r-- 698 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from . import GalaxyTestBase


class TestGalaxyConfig(GalaxyTestBase.GalaxyTestBase):
    def test_get_config(self):
        response = self.gi.config.get_config()
        assert isinstance(response, dict)
        assert "brand" in response.keys()

    def test_get_version(self):
        response = self.gi.config.get_version()
        assert isinstance(response, dict)
        assert "version_major" in response.keys()

    def test_whoami(self):
        response = self.gi.config.whoami()
        assert isinstance(response, dict)
        assert "username" in response.keys()

    def test_reload_toolbox(self):
        response = self.gi.config.reload_toolbox()
        assert response is None