Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
bernt-matthias committed Jun 10, 2024
1 parent 966ee8e commit e98e630
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions bioblend/_tests/TestGalaxyUsers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import bioblend.galaxy
import pytest

from bioblend import (
ConnectionError,
galaxy,
)
from . import (
GalaxyTestBase,
test_util,
Expand Down Expand Up @@ -55,7 +60,7 @@ def test_create_local_user(self):
assert new_user["username"] == new_username
assert new_user["email"] == new_user_email
# test a BioBlend GalaxyInstance can be created using username+password
user_gi = bioblend.galaxy.GalaxyInstance(url=self.gi.base_url, email=new_user_email, password=password)
user_gi = galaxy.GalaxyInstance(url=self.gi.base_url, email=new_user_email, password=password)
assert user_gi.users.get_current_user()["email"] == new_user_email
# test deletion and purging
if self.gi.config.get_config()["allow_user_deletion"]:
Expand Down

0 comments on commit e98e630

Please sign in to comment.